mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Update Commandgc.java
This commit is contained in:
parent
1dfad57c6f
commit
c55e52539e
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue