9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 11:09:06 +00:00
This commit is contained in:
Daniel Mills
2020-01-08 14:20:42 -05:00
parent 431eea9152
commit ce8127456c
6 changed files with 3 additions and 22 deletions

View File

@@ -37,11 +37,9 @@ public class CommandIris implements CommandExecutor
if(args[0].equalsIgnoreCase("timings"))
{
double t = Iris.profiler.getResult("terrain").getAverage();
double c = Iris.profiler.getResult("caves").getAverage();
double d = Iris.profiler.getResult("decor").getAverage();
msg(sender, "Generation: " + ChatColor.BOLD + ChatColor.WHITE + F.duration(t + d, 2));
msg(sender, " \\Terrain: " + ChatColor.BOLD + ChatColor.WHITE + F.duration(t, 2));
msg(sender, " \\Caves: " + ChatColor.BOLD + ChatColor.WHITE + F.duration(c, 2));
msg(sender, " \\Decor: " + ChatColor.BOLD + ChatColor.WHITE + F.duration(d, 2));
}