1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-04-03 10:16:23 +02:00

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

@ -13,7 +13,7 @@ public class FuelEfficiencyEventHandler {
} }
protected void calculateBurnModifier() { 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() { protected void modifyBurnTime() {