diff --git a/src/main/java/com/trcx/swapper/Common/Item/Swapper.java b/src/main/java/com/trcx/swapper/Common/Item/Swapper.java index 53e094e..8897030 100644 --- a/src/main/java/com/trcx/swapper/Common/Item/Swapper.java +++ b/src/main/java/com/trcx/swapper/Common/Item/Swapper.java @@ -110,7 +110,9 @@ public static void putLastStack(ItemStack swapper, ItemStack is){ ItemStack currentIs = getLastStack(swapper); if (is != null) { if (is.stackSize > 0) { - if (is.getItem() == currentIs.getItem() || currentIs.getItem().getContainerItem() == is.getItem()) { + if (is.getItem() == currentIs.getItem() || + currentIs.getItem().getContainerItem() == is.getItem() || + is.getItem().getContainerItem() == currentIs.getItem()) { inv.setInventorySlotContents(slot, is); } // else don't save, it'd probably dupe is } else {