Crash fix
This commit is contained in:
parent
25866b39f9
commit
e497a46bd6
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue