It is important
This commit is contained in:
parent
dd409d241d
commit
dd492e5344
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public class TileEntityAirGenerator extends TileEntityAbstractEnergy {
|
|||
return;
|
||||
}
|
||||
|
||||
// Air generator works only in spaces
|
||||
// Air generator works only in space
|
||||
if (worldObj.provider.dimensionId != WarpDriveConfig.G_SPACE_DIMENSION_ID && worldObj.provider.dimensionId != WarpDriveConfig.G_HYPERSPACE_DIMENSION_ID) {
|
||||
if (getBlockMetadata() != 0) {
|
||||
worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, 0, 2); // set disabled texture
|
||||
|
|
Loading…
Add table
Reference in a new issue