- Improved graphics for Elo display in /stats

This commit is contained in:
AlexTheCoder 2016-04-28 01:01:14 -04:00
parent 189296a586
commit dcd376b837

View File

@ -283,13 +283,13 @@ public class EloManager extends MiniDbClientPlugin<EloClientData>
build.setTitle(C.cGreen + _disp);
int percentage = (elo * 100)/_maxElo;
ChatColor color = ChatColor.YELLOW;
String color = C.cYellow;
if (percentage <= 35)
color = ChatColor.RED;
color = C.cRed;
else if (percentage >= 65)
color = ChatColor.GREEN;
color = C.cGreen;
build.addLore(C.cGold + "Your Progress", color + "" + percentage + " complete with this division.");
build.addLore(C.cGold + "Your Progress:", color + percentage + "% complete with this Division");
return build.build();
}