Pass TE instance to inventories
This commit is contained in:
		| @@ -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; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Raoul Van den Berge
					Raoul Van den Berge