Transition from null stacks to ItemStack.EMPTY

This commit is contained in:
aidancbrady committed 2017-03-29 01:08:36 -04:00
1 parent fa7b9b49bc
commit 01ab160ff9
100 files changed
+596 -616

No files matched your search

@@ -232,6 +232,11 @@ public final class InventoryUtils
public static boolean areItemsStackable(ItemStack toInsert, ItemStack inSlot)
{
if(toInsert.isEmpty() || inSlot.isEmpty())
{
return true;
}
return inSlot.isItemEqual(toInsert) && ItemStack.areItemStackTagsEqual(inSlot, toInsert);
}