mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-22 23:43:46 +01:00
Update Commandgc.java
This commit is contained in:
parent
831b581ea8
commit
6f459a3acb
@ -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…
x
Reference in New Issue
Block a user