Small fixes to the IDSU

This commit is contained in:
modmuss50 2017-06-13 19:43:27 +01:00
parent 5dd9fb14a1
commit c51b74fd68
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
2 changed files with 6 additions and 1 deletions

View file

@ -30,7 +30,7 @@ import techreborn.lib.ModInfo;
public class IDSUManager {
public static IDataIDSU getData(World world){
MapStorage storage = world.getPerWorldStorage();
MapStorage storage = world.getMapStorage();
IDSUSaveManger instance = (IDSUSaveManger) storage.getOrLoadData(IDSUSaveManger.class, ModInfo.MOD_ID + "_IDSU");
if (instance == null) {

View file

@ -89,4 +89,9 @@ public class TileIDSU extends TileEnergyStorage implements IContainerProvider {
.complete(8, 18).addArmor().addInventory().tile(this).energySlot(0, 62, 45).energySlot(1, 98, 45)
.syncEnergyValue().addInventory().create();
}
@Override
public boolean shouldHanldeEnergyNBT() {
return false;
}
}