mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 06:52:58 +00: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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user