mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
Fixed creative cap banks becoming uncreative after re-load.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user