support multiple inventories in InventoryUtils

This commit is contained in:
Raoul Van den Berge
2016-02-03 19:51:51 +01:00
parent f2bf12b833
commit c2f31485f0
11 changed files with 35 additions and 35 deletions

View File

@@ -175,7 +175,7 @@ public class TileImporter extends TileMachine implements ICompareSetting, IModeS
mode = nbt.getInteger(NBT_MODE);
}
InventoryUtils.restoreInventory(inventory, nbt);
InventoryUtils.restoreInventory(inventory, 0, nbt);
}
@Override
@@ -186,7 +186,7 @@ public class TileImporter extends TileMachine implements ICompareSetting, IModeS
nbt.setInteger(NBT_COMPARE, compare);
nbt.setInteger(NBT_MODE, mode);
InventoryUtils.saveInventory(inventory, nbt);
InventoryUtils.saveInventory(inventory, 0, nbt);
}
@Override