Wesley Wolfe
516a02b8bb
Fix stacking for items after setting empty meta. Fixes BUKKIT-5331
...
ItemStacks do not stack if one has null for a tag, while the other has an
empty tag. In CraftItemStack, if you set an item to an empty ItemMeta, it
will create an empty tag for the internal ItemStack.
This changes the setItemMeta function to check for empty meta, and then
use null for the tag instead of an empty NBTTagCompound.
2014-01-23 23:24:59 -06:00
..
2013-11-30 19:26:12 -06:00
2013-07-01 12:10:06 -05:00
2013-12-20 23:37:58 -06:00
2013-11-30 19:26:12 -06:00
2013-03-30 02:51:26 -05:00
2012-10-27 22:19:03 -04:00
2012-02-29 15:19:07 -05:00
2012-12-17 01:31:41 -06:00
2013-11-30 19:26:12 -06:00
2012-09-09 23:19:28 -05:00
2012-02-29 15:19:07 -05:00
2012-02-29 15:19:07 -05:00
2013-07-10 13:45:52 -04:00
2012-08-02 04:58:50 -05:00
2013-11-30 19:26:12 -06:00
2013-11-30 19:26:12 -06:00
2013-07-27 18:00:01 -05:00
2014-01-23 23:24:59 -06:00
2013-11-30 19:26:12 -06:00
2013-01-18 02:58:07 -06:00
2013-03-28 20:01:01 -05:00
2013-11-30 19:26:12 -06:00
2014-01-14 18:15:04 -06:00
2013-11-30 19:26:12 -06:00
2013-01-18 02:58:07 -06:00
2013-11-30 19:26:12 -06:00
2013-01-18 02:58:07 -06:00
2011-05-01 23:40:48 -04:00
2013-11-30 19:26:12 -06:00
2013-11-30 19:26:12 -06:00
2012-03-20 19:40:44 -04:00
2014-01-18 15:52:22 -06:00