From 7c767b3bbf13805b7a9e180cbd19b702f2e16371 Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 14 Apr 2019 11:29:51 -0400 Subject: [PATCH] Stop insertions into Demon Crucible if the inventory is not empty (#1567) --- src/main/java/WayofTime/bloodmagic/tile/TileDemonCrucible.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrucible.java b/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrucible.java index 7685e0fc..52ff0be5 100644 --- a/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrucible.java +++ b/src/main/java/WayofTime/bloodmagic/tile/TileDemonCrucible.java @@ -204,7 +204,7 @@ public class TileDemonCrucible extends TileInventory implements ITickable, IDemo @Override public boolean canInsertItem(int index, ItemStack stack, EnumFacing direction) { - return !stack.isEmpty() && (stack.getItem() instanceof IDemonWillGem || stack.getItem() instanceof IDiscreteDemonWill); + return !stack.isEmpty() && inventory.get(0).isEmpty() && (stack.getItem() instanceof IDemonWillGem || stack.getItem() instanceof IDiscreteDemonWill); } @Override