diff --git a/src/main/java/tconstruct/tools/logic/StencilTableLogic.java b/src/main/java/tconstruct/tools/logic/StencilTableLogic.java index dca3ce5f..eb73eda2 100644 --- a/src/main/java/tconstruct/tools/logic/StencilTableLogic.java +++ b/src/main/java/tconstruct/tools/logic/StencilTableLogic.java @@ -54,14 +54,12 @@ public class StencilTableLogic extends InventoryLogic implements ISidedInventory public void setInventorySlotContents (int slot, ItemStack itemstack) { super.setInventorySlotContents(slot, itemstack); - if (slot == 0){ - if (itemstack != null && StencilBuilder.isBlank(itemstack)) - { - setInventorySlotContents(1, selectedStack); - }else{ - selectedStack=null; - setInventorySlotContents(1, selectedStack); - } + if (slot == 0 && itemstack != null && StencilBuilder.isBlank(itemstack)) + { + setInventorySlotContents(1, selectedStack); + }else{ + selectedStack=null; + setInventorySlotContents(1, selectedStack); } }