Fixed creative cap banks becoming uncreative after re-load.

This commit is contained in:
CrazyPants committed 2014-06-11 21:44:36 +08:00
1 parent 1478efedb3
commit 70780d8c61
1 file changed
+5
@@ -198,6 +198,11 @@ public class TileCapacitorBank extends TileEntityEio implements IInternalPowerRe
if(worldObj == null) { // sanity check
return;
}
if(blockMetadata == -1) {
isCreative = getBlockMetadata() == 1;
}
if(worldObj.isRemote) {
if(render) {
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);