mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-09 07:45:28 +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() {
|
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() {
|
||||||
|
Reference in New Issue
Block a user