mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 11:14:44 +02:00
This might be better
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user