From dcd376b837c05f4712d765188f6cf567b4689a3e Mon Sep 17 00:00:00 2001 From: AlexTheCoder Date: Thu, 28 Apr 2016 01:01:14 -0400 Subject: [PATCH] - Improved graphics for Elo display in /stats --- .../Mineplex.Core/src/mineplex/core/elo/EloManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/elo/EloManager.java b/Plugins/Mineplex.Core/src/mineplex/core/elo/EloManager.java index 986c1f5af..76a26f7ba 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/elo/EloManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/elo/EloManager.java @@ -283,13 +283,13 @@ public class EloManager extends MiniDbClientPlugin 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(); }