One of these has to be a double if we want this modifier to work.

This commit is contained in:
GJ 2013-02-19 08:03:02 -05:00
parent 9c0f763949
commit a67dd1d9d7

View File

@ -13,7 +13,7 @@ public class FuelEfficiencyEventHandler {
}
protected void calculateBurnModifier() {
this.burnModifier = 1 + ((manager.getSkillLevel() / Smelting.burnModifierMaxLevel) * Smelting.burnTimeMultiplier);
this.burnModifier = 1 + (((double) manager.getSkillLevel() / Smelting.burnModifierMaxLevel) * Smelting.burnTimeMultiplier);
}
protected void modifyBurnTime() {