added profile command

This commit is contained in:
gnembon committed 2020-02-06 09:33:46 -04:00
1 parent e6a49467c4
commit 85a34fdefa
4 files changed
+44 -14

No files matched your search

@@ -129,13 +129,13 @@ public class TickCommand
return 1;
}
private static int healthReport(ServerCommandSource source, int ticks)
public static int healthReport(ServerCommandSource source, int ticks)
{
CarpetProfiler.prepare_tick_report(source, ticks);
return 1;
}
private static int healthEntities(ServerCommandSource source, int ticks)
public static int healthEntities(ServerCommandSource source, int ticks)
{
CarpetProfiler.prepare_entity_report(source, ticks);
return 1;