profiler remembers requestee, and better rounding in scarpet

This commit is contained in:
gnembon committed 2019-08-23 06:04:13 +02:00
1 parent a7addf7948
commit 8a01ebea41
7 files changed
+50 -25

No files matched your search

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