Console errors when the droptable has items with "0" values
Summary Using the 0 value in droptables will give errors in console. Nothing weird in game, everything is working fine
Steps to reproduce
- Create an item, this is the one i used https://pastebin.com/n8JJud4i
- Put it and use it in a droptable with a 0 value, like this one: https://pastebin.com/jkCSbUJS
- Using /mm items get "droptable1" (or any other droptable name you used) will give you the items in the inventory occasionally giving you the error in console. Throws errors in console if the items are dropped by mobs too
Current behavior Throw errors in console
This is a video where i test the droptable i used, nothing wrong happening in game: https://www.youtube.com/watch?v=PfeA5cXRu7E&feature=youtu.be
Check the log snippet for the error
Intended correct behavior It should not throw errors in console
Server log file https://pastebin.com/CLD2EMeQ
Debug log snippet https://pastebin.com/57rnKYLC
"Failed to apply ItemMeta to item"