mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Attempt2
This commit is contained in:
1 parent
4e81ba78a1
commit
c1fbbded90
1 file changed
+8
-6
@@ -54,12 +54,14 @@ public class StencilTableLogic extends InventoryLogic implements ISidedInventory
|
||||
public void setInventorySlotContents (int slot, ItemStack itemstack)
|
||||
{
|
||||
super.setInventorySlotContents(slot, itemstack);
|
||||
if (slot == 0 && itemstack != null && StencilBuilder.isBlank(itemstack))
|
||||
{
|
||||
setInventorySlotContents(1, selectedStack);
|
||||
}else{
|
||||
selectedStack=null;
|
||||
setInventorySlotContents(1, selectedStack);
|
||||
if (slot == 0){
|
||||
if (itemstack != null && StencilBuilder.isBlank(itemstack))
|
||||
{
|
||||
setInventorySlotContents(1, selectedStack);
|
||||
}else{
|
||||
selectedStack=null;
|
||||
setInventorySlotContents(1, selectedStack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user