Fixed air generator being disabled during map conversion
This commit is contained in:
parent
c1225116c5
commit
0f9c6adb7f
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public class TileEntityAirGenerator extends TileEntityAbstractEnergy {
|
|||
@Override
|
||||
public void readFromNBT(final NBTTagCompound tagCompound) {
|
||||
super.readFromNBT(tagCompound);
|
||||
isEnabled = tagCompound.getBoolean("isEnabled");
|
||||
isEnabled = !tagCompound.hasKey("isEnabled") || tagCompound.getBoolean("isEnabled");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue