mirror of
https://github.com/Zrips/Jobs.git
synced 2025-04-08 13:16:49 +02:00
parent
423248105b
commit
c4d0d0101a
@ -74,12 +74,9 @@ public class BossBarManager {
|
||||
NumberFormat formatter = new DecimalFormat("#0.00");
|
||||
|
||||
String gain = "";
|
||||
if (expGain != 0) {
|
||||
if (expGain > 0) {
|
||||
expGain = (int) (expGain * 100) / 100D;
|
||||
if (expGain > 0)
|
||||
gain = "+" + expGain;
|
||||
else
|
||||
gain = "" + expGain;
|
||||
gain = expGain > 0 ? "+" + expGain : "" + expGain;
|
||||
gain = Jobs.getLanguage().getMessage("command.stats.bossBarGain", "%gain%", gain);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user