1.14.2 pre 1

This commit is contained in:
gnembon committed 2019-05-16 23:42:41 -03:00
1 parent 48ff85293f
commit 1a4adca444
4 files changed
+23 -22

No files matched your search

@@ -120,7 +120,7 @@ public class CarpetProfiler
return null;
}
String section = dimension+"."+ Registry.ENTITY_TYPE.getId(e.getType()).toString().replaceFirst("minecraft:","");
if (e.getWorld().isClient)
if (e.getEntityWorld().isClient)
section += "(client)";
long section_start = System.nanoTime();
return new ProfilerToken(section, section_start);