fix stackable sboxes

This commit is contained in:
gnembon committed 2020-02-11 00:33:05 -04:00
1 parent fe2f91f84c
commit 97379814af
1 file changed
+1
@@ -82,6 +82,7 @@ public abstract class ItemEntityMixin extends Entity implements ItemEntityInterf
ItemStack otherStack = other.getStack();
if (selfStack.getItem() == otherStack.getItem()
&& !InventoryHelper.shulkerBoxHasItems(selfStack)
&& !InventoryHelper.shulkerBoxHasItems(otherStack)
&& selfStack.hasTag() == otherStack.hasTag()
&& selfStack.getCount() + otherStack.getCount() <= SHULKERBOX_MAX_STACK_AMOUNT)
{