{"action":"created","issue":{"url":"https://api.github.com/repos/PaperMC/Paper/issues/1523","repository_url":"https://api.github.com/repos/PaperMC/Paper","labels_url":"https://api.github.com/repos/PaperMC/Paper/issues/1523/labels{/name}","comments_url":"https://api.github.com/repos/PaperMC/Paper/issues/1523/comments","events_url":"https://api.github.com/repos/PaperMC/Paper/issues/1523/events","html_url":"https://github.com/PaperMC/Paper/issues/1523","id":366073904,"node_id":"MDU6SXNzdWUzNjYwNzM5MDQ=","number":1523,"title":"Crash give item NBT tag","user":{"login":"splintermik","id":29209953,"node_id":"MDQ6VXNlcjI5MjA5OTUz","avatar_url":"https://avatars0.githubusercontent.com/u/29209953?v=4","gravatar_id":"","url":"https://api.github.com/users/splintermik","html_url":"https://github.com/splintermik","followers_url":"https://api.github.com/users/splintermik/followers","following_url":"https://api.github.com/users/splintermik/following{/other_user}","gists_url":"https://api.github.com/users/splintermik/gists{/gist_id}","starred_url":"https://api.github.com/users/splintermik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splintermik/subscriptions","organizations_url":"https://api.github.com/users/splintermik/orgs","repos_url":"https://api.github.com/users/splintermik/repos","events_url":"https://api.github.com/users/splintermik/events{/privacy}","received_events_url":"https://api.github.com/users/splintermik/received_events","type":"User","site_admin":false},"labels":[{"id":314954733,"node_id":"MDU6TGFiZWwzMTQ5NTQ3MzM=","url":"https://api.github.com/repos/PaperMC/Paper/labels/bug","name":"bug","color":"b60205","default":true}],"state":"closed","locked":false,"assignee":{"login":"zachbr","id":1254957,"node_id":"MDQ6VXNlcjEyNTQ5NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1254957?v=4","gravatar_id":"","url":"https://api.github.com/users/zachbr","html_url":"https://github.com/zachbr","followers_url":"https://api.github.com/users/zachbr/followers","following_url":"https://api.github.com/users/zachbr/following{/other_user}","gists_url":"https://api.github.com/users/zachbr/gists{/gist_id}","starred_url":"https://api.github.com/users/zachbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachbr/subscriptions","organizations_url":"https://api.github.com/users/zachbr/orgs","repos_url":"https://api.github.com/users/zachbr/repos","events_url":"https://api.github.com/users/zachbr/events{/privacy}","received_events_url":"https://api.github.com/users/zachbr/received_events","type":"User","site_admin":false},"assignees":[{"login":"zachbr","id":1254957,"node_id":"MDQ6VXNlcjEyNTQ5NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1254957?v=4","gravatar_id":"","url":"https://api.github.com/users/zachbr","html_url":"https://github.com/zachbr","followers_url":"https://api.github.com/users/zachbr/followers","following_url":"https://api.github.com/users/zachbr/following{/other_user}","gists_url":"https://api.github.com/users/zachbr/gists{/gist_id}","starred_url":"https://api.github.com/users/zachbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachbr/subscriptions","organizations_url":"https://api.github.com/users/zachbr/orgs","repos_url":"https://api.github.com/users/zachbr/repos","events_url":"https://api.github.com/users/zachbr/events{/privacy}","received_events_url":"https://api.github.com/users/zachbr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-02T20:49:29Z","updated_at":"2018-10-03T02:55:31Z","closed_at":"2018-10-03T02:55:11Z","author_association":"NONE","body":"Hello, I encountered a bug\r\n\r\nwhen I give myself an object with an NBT tags, it crashes the game ( I test it solo, and no crash)\r\n\r\nthe typing command is as follows: \r\n/give @a minecraft:diamond_sword{HideFlags:63,CanDestroy:[\"yellow_flower\", \"red_flower\", \"tallgrass\", \"ladder\"]} 1\r\n\r\nhere's what it says in the logs:\r\n\r\n[22:42:42] [Server thread/INFO]: splintermik issued server command: /give @a minecraft:diamond_sword{HideFlags:63,CanDestroy:[\"yellow_flower\", \"red_flower\", \"tallgrass\", \"ladder\"]} 1\r\n[22:42:42] [Netty Server IO #1/ERROR]: java.lang.NullPointerException\r\n[22:42:42] [Server thread/INFO]: splintermik lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException\r\n[22:42:42] [Server thread/INFO]: splintermik left the game\r\n[22:42:47] [User Authenticator #2/INFO]: UUID of player splintermik is f05b0e69-bb5b-3ba1-b331-8d5835f6bb62\r\n[22:42:47] [Server thread/INFO]: splintermik[/127.0.0.1:60753] logged in with entity id 42 at ([MONDE]1234.9828372050413, 29.489191728492088, 195.27331192350096)\r\n[22:42:47] [Netty Server IO #2/ERROR]: java.lang.NullPointerException\r\n[22:42:47] [Netty Server IO #2/ERROR]: java.lang.NullPointerException\r\n[22:42:47] [Server thread/INFO]: splintermik lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.NullPointerException\r\n[22:42:47] [Server thread/INFO]: splintermik left the game\r\n\r\npaper version : Paper version git-Paper-324 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)\r\n\r\nplugin : 0\r\n\r\nHere, I don't know if it's a bug already reported.\r\n\r\nthank you :)"},"comment":{"url":"https://api.github.com/repos/PaperMC/Paper/issues/comments/426495906","html_url":"https://github.com/PaperMC/Paper/issues/1523#issuecomment-426495906","issue_url":"https://api.github.com/repos/PaperMC/Paper/issues/1523","id":426495906,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQ5NTkwNg==","user":{"login":"zachbr","id":1254957,"node_id":"MDQ6VXNlcjEyNTQ5NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1254957?v=4","gravatar_id":"","url":"https://api.github.com/users/zachbr","html_url":"https://github.com/zachbr","followers_url":"https://api.github.com/users/zachbr/followers","following_url":"https://api.github.com/users/zachbr/following{/other_user}","gists_url":"https://api.github.com/users/zachbr/gists{/gist_id}","starred_url":"https://api.github.com/users/zachbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachbr/subscriptions","organizations_url":"https://api.github.com/users/zachbr/orgs","repos_url":"https://api.github.com/users/zachbr/repos","events_url":"https://api.github.com/users/zachbr/events{/privacy}","received_events_url":"https://api.github.com/users/zachbr/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T02:55:31Z","updated_at":"2018-10-03T02:55:31Z","author_association":"MEMBER","body":"Our handling of null items (that can't be found in Minecraft's item namespace) was wrong. Your command references `red_flower`, `tallgrass`, and `yellow_flower` none of which exist.\r\nThey're actually `poppy`, `tall_grass`, and `dandelion` respectively.\r\n\r\nPaper will now handle these cases better but you should note that your command was probably wrong (unless vanilla MC accepts these and they work, in which case we have some additional item matching to do).\r\n\r\nThanks for letting us know, fixed in builds 326+"}}
{"actor":{"display_login":"zachbr"}}