Small fixes to the IDSU
This commit is contained in:
parent
5dd9fb14a1
commit
c51b74fd68
2 changed files with 6 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue