Fix slot config, some changes to the way Inventory works as well to allow for this.

This commit is contained in:
modmuss50 2018-09-13 19:33:14 +01:00
parent 305f74b107
commit 01644e4f65
35 changed files with 114 additions and 108 deletions

View file

@ -55,7 +55,7 @@ public class TileQuantumTank extends TileLegacyMachineBase
public static int maxStorage = Integer.MAX_VALUE;
public Tank tank = new Tank("TileQuantumTank", maxStorage, this);
public Inventory inventory = new Inventory(3, "TileQuantumTank", 64, this);
public Inventory<TileQuantumTank> inventory = new Inventory<>(3, "TileQuantumTank", 64, this);
public void readFromNBTWithoutCoords(final NBTTagCompound tagCompound) {
tank.readFromNBT(tagCompound);