{"action":"closed","issue":{"url":"https://api.github.com/repos/malte0811/VillagerMetaFix/issues/1","repository_url":"https://api.github.com/repos/malte0811/VillagerMetaFix","labels_url":"https://api.github.com/repos/malte0811/VillagerMetaFix/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/malte0811/VillagerMetaFix/issues/1/comments","events_url":"https://api.github.com/repos/malte0811/VillagerMetaFix/issues/1/events","html_url":"https://github.com/malte0811/VillagerMetaFix/issues/1","id":135952702,"number":1,"title":"Crash when non-NBT item is given for a trade requiring NBT","user":{"login":"LavaSlayer","id":11470063,"avatar_url":"https://avatars.githubusercontent.com/u/11470063?v=3","gravatar_id":"","url":"https://api.github.com/users/LavaSlayer","html_url":"https://github.com/LavaSlayer","followers_url":"https://api.github.com/users/LavaSlayer/followers","following_url":"https://api.github.com/users/LavaSlayer/following{/other_user}","gists_url":"https://api.github.com/users/LavaSlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/LavaSlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LavaSlayer/subscriptions","organizations_url":"https://api.github.com/users/LavaSlayer/orgs","repos_url":"https://api.github.com/users/LavaSlayer/repos","events_url":"https://api.github.com/users/LavaSlayer/events{/privacy}","received_events_url":"https://api.github.com/users/LavaSlayer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-24T04:41:08Z","updated_at":"2016-02-24T17:52:07Z","closed_at":"2016-02-24T17:52:07Z","body":"Hi,\r\n\r\nThis is a great little mod which addresses an important issue.  Thank you for making this fix.\r\n\r\nI have run into one problem, however.  When a villager requires a payment item which has NBT data, if I try to give him an item without NBT data, the game crashes.  (This is with B:checkNbtByDefault=true.)  However, the game does not crash if I give him an item with NBT, even if it is the wrong item or the wrong NBT.\r\nThis crash does not occur if I have B:checkNbtByDefault=false.\r\nAlso, the game does not crash if I give an NBT item when the villager requires a non-NBT item.\r\n\r\nThis is the crash message:\r\n\r\n> Description: Unexpected error\r\n> \r\n> java.lang.NullPointerException: Unexpected error\r\n> \tat net.minecraft.crash.CrashReportCategory.func_85069_a(CrashReportCategory.java:145)\r\n> \tat net.minecraft.crash.CrashReport.func_85057_a(CrashReport.java:390)\r\n> \tat net.minecraft.crash.CrashReport.func_85058_a(CrashReport.java:357)\r\n> \tat net.minecraft.client.Minecraft.func_71407_l(Unknown Source)\r\n> \tat net.minecraft.client.Minecraft.func_71411_J(Unknown Source)\r\n> \tat net.minecraft.client.Minecraft.func_99999_d(Unknown Source)\r\n> \tat net.minecraft.client.main.Main.main(SourceFile:148)\r\n> \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n> \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n> \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n> \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n> \tat net.minecraft.launchwrapper.Launch.launch(Launch.java:135)\r\n> \tat net.minecraft.launchwrapper.Launch.main(Launch.java:28)\r\n\r\nThank you."}}