@@ -26,6 +26,7 @@ public abstract class SkillCommand implements CommandExecutor {
protected boolean hasEndurance;
protected DecimalFormat percent = new DecimalFormat("##0.00%");
+ protected DecimalFormat decimal = new DecimalFormat("##0.00");
public SkillCommand(SkillType skill) {
this.skill = skill;
@@ -25,7 +25,7 @@ public class SmeltingCommand extends SkillCommand {
@Override
protected void dataCalculations() {
//FUEL EFFICIENCY
- burnTimeModifier = String.valueOf(1 + ((skillValue / Smelting.burnModifierMaxLevel) * Smelting.burnTimeMultiplier));
+ burnTimeModifier = decimal.format(1 + ((skillValue / Smelting.burnModifierMaxLevel) * Smelting.burnTimeMultiplier));
//SECOND SMELT
String[] secondSmeltStrings = calculateAbilityDisplayValues(Smelting.secondSmeltMaxLevel, Smelting.secondSmeltMaxChance);