This might be better

This commit is contained in:
nossr50
2019-01-27 20:09:32 -08:00
parent d7fe01579b
commit 67a57f7472
3 changed files with 5 additions and 3 deletions

View File

@ -75,7 +75,10 @@ public class FishingCommand extends SkillCommand {
}
}
magicChance = percent.format(totalEnchantChance / 100.0);
if(totalEnchantChance > 0)
magicChance = percent.format(totalEnchantChance / 100.0);
else
magicChance = percent.format(magicChance);
}
// FISHING_SHAKE