Revert "Attempt2"

This reverts commit c1fbbded90.
This commit is contained in:
Technus committed 2017-03-21 23:49:22 +01:00
1 parent db8264fbf2
commit 88fb8f0f3f
1 file changed
+6 -8
@@ -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);
}
}