mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
One of these has to be a double if we want this modifier to work.
This commit is contained in:
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user