boolean update = worldObj.getWorldInfo().getWorldTotalTime() % 10 == 0;
NetworkPowerManager pm = getPowerManager();
if(pm != null && update) {
update(pm);
Signal sig = null;
if(!engineControlEnabled) {
sig = null;
} else {
float percentFull = getPercentFull();
if(currentlyEmmittedSignal == null) {
if(percentFull <= startLevel) {
sig = new Signal(xCoord, yCoord, zCoord, ForgeDirection.UNKNOWN, 15, DyeColor.RED);
}
} else {
if(percentFull >= stopLevel) {
sig = null;
} else {