Pass TE instance to inventories

This commit is contained in:
Raoul Van den Berge
2016-03-27 15:58:36 +02:00
parent d033b5af64
commit 97d635a8cc
3 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ public class TileInterface extends TileMachine implements ICompareSetting, ISide
18, 19, 20, 21, 22, 23, 24, 25, 26 18, 19, 20, 21, 22, 23, 24, 25, 26
}; };
private InventorySimple inventory = new InventorySimple("interface", 9 * 3); private InventorySimple inventory = new InventorySimple("interface", 9 * 3, this);
private int compare = 0; private int compare = 0;

View File

@@ -26,7 +26,7 @@ public class TileSolderer extends TileMachine implements IInventory, ISidedInven
3 3
}; };
private InventorySimple inventory = new InventorySimple("solderer", 4); private InventorySimple inventory = new InventorySimple("solderer", 4, this);
private ISoldererRecipe recipe; private ISoldererRecipe recipe;

View File

@@ -17,7 +17,7 @@ public class TileWirelessTransmitter extends TileMachine implements IInventory {
public static final String NBT_WORKING = "Working"; public static final String NBT_WORKING = "Working";
public static final String NBT_PROGRESS = "Progress"; public static final String NBT_PROGRESS = "Progress";
private InventorySimple inventory = new InventorySimple("wirelessTransmitter", 3); private InventorySimple inventory = new InventorySimple("wirelessTransmitter", 3, this);
private boolean working = false; private boolean working = false;
private int progress = 0; private int progress = 0;