Initial set of fixes

This commit is contained in:
Raoul Van den Berge
2016-05-24 21:18:59 +02:00
parent 84bca8f22c
commit 1fc2b12193
9 changed files with 45 additions and 29 deletions

View File

@@ -261,7 +261,7 @@ public class TileController extends TileBase implements IEnergyReceiver, ISynchr
this.type = (EnumControllerType) worldObj.getBlockState(pos).getValue(BlockController.TYPE);
}
return type;
return type == null ? EnumControllerType.NORMAL : type;
}
public int getWirelessGridRange() {