mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
One of these has to be a double if we want this modifier to work.
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user