From c55e52539eef7345de76c5e33fb9958c6f9d1fd9 Mon Sep 17 00:00:00 2001 From: snowleo Date: Tue, 23 Apr 2013 08:57:22 +0300 Subject: Update Commandgc.java --- Essentials/src/com/earth2me/essentials/commands/Commandgc.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandgc.java b/Essentials/src/com/earth2me/essentials/commands/Commandgc.java index b1988b04e..71851f883 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandgc.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandgc.java @@ -20,13 +20,13 @@ public class Commandgc extends EssentialsCommand @Override protected void run(final Server server, final CommandSender sender, final String commandLabel, final String[] args) throws Exception { - float tps = ess.getTimer().getAverageTPS(); + double tps = ess.getTimer().getAverageTPS(); ChatColor color; - if (tps >= 18) + if (tps >= 18.0) { color = ChatColor.GREEN; } - else if (tps >= 15) + else if (tps >= 15.0) { color = ChatColor.YELLOW; } -- cgit v1.2.3