Fix placed empty shulker boxes not stacking

Fixes #1587
This commit is contained in:
altrisi authored and GitHub committed 2022-11-05 12:05:40 +01:00
1 parent 8f3c4352b9
commit da5bccb5c5
1 file changed
+1 -1
@@ -35,7 +35,7 @@ public class InventoryHelper
changed = true;
}
if (bet.isEmpty())
if (bet.isEmpty() || (bet.size() == 1 && bet.getString("id").equals("minecraft:shulker_box")))
{
tag.remove("BlockEntityTag");
changed = true;