Crash fix

This commit is contained in:
aidancbrady 2016-03-26 14:54:13 -04:00
parent 25866b39f9
commit e497a46bd6
3 changed files with 4 additions and 4 deletions

View file

@ -161,8 +161,8 @@ public class TileEntityBoilerCasing extends TileEntityMultiblock<SynchronizedBoi
sendPacketToRenderer(); sendPacketToRenderer();
} }
structure.prevWater = structure.waterStored.copy(); structure.prevWater = structure.waterStored != null ? structure.waterStored.copy() : null;
structure.prevSteam = structure.steamStored.copy(); structure.prevSteam = structure.steamStored != null ? structure.steamStored.copy() : null;
MekanismUtils.saveChunk(this); MekanismUtils.saveChunk(this);
} }

View file

@ -115,7 +115,7 @@ public class TileEntityDynamicTank extends TileEntityMultiblock<SynchronizedTank
sendPacketToRenderer(); sendPacketToRenderer();
} }
structure.prevFluid = structure.fluidStored.copy(); structure.prevFluid = structure.prevFluid != null ? structure.fluidStored.copy() : null;
manageInventory(); manageInventory();
} }

View file

@ -100,7 +100,7 @@ public class TileEntityTurbineCasing extends TileEntityMultiblock<SynchronizedTu
sendPacketToRenderer(); sendPacketToRenderer();
} }
structure.prevFluid = structure.fluidStored; structure.prevFluid = structure.fluidStored != null ? structure.fluidStored.copy() : null;
} }
} }
} }