Merge pull request #182 from CovertJaguar/patch-5

Cast left over from old code.
This commit is contained in:
SirSengir 2012-08-25 01:14:07 -07:00
commit 784dde1403

View file

@ -366,7 +366,7 @@ public class TileEngine extends TileBuildCraft implements IPowerReceptor, IInven
return;
}
engine.addEnergy((int) (provider.useEnergy(1, engine.maxEnergyReceived(), true) * 0.95F));
engine.addEnergy(provider.useEnergy(1, engine.maxEnergyReceived(), true) * 0.95F);
}
public boolean isPoweredTile(TileEntity tile) {