Skip to content

Commit

Permalink
One of these has to be a double if we want this modifier to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmcferrin committed Feb 19, 2013
1 parent 9c0f763 commit a67dd1d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -13,7 +13,7 @@ protected FuelEfficiencyEventHandler(SmeltingManager manager, FurnaceBurnEvent e
}

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() {
Expand Down

0 comments on commit a67dd1d

Please sign in to comment.