fix stackable shulkerboxes ignoring other tags

This commit is contained in:
gnembon committed 2019-10-28 21:39:32 -03:00
1 parent 98036e51a6
commit 144f3a2ad8
1 file changed
+5 -1
@@ -36,11 +36,15 @@ public class InventoryHelper
}
if (bet.isEmpty())
{
tag.remove("BlockEntityTag");
changed = true;
}
if (tag.isEmpty())
{
stack.setTag(null);
changed = true;
}
return changed;
}