mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-18 20:41:37 +02:00
Update Commandgc.java
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user