fixed 1.14.1 mappings
This commit is contained in:
1 parent
00347dde4d
commit
6b3e61e7cc
2 files changed
+2
-2
No files matched your search
@@ -120,7 +120,7 @@ public class CarpetProfiler
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
String section = dimension+"."+ Registry.ENTITY_TYPE.getId(e.getType()).toString().replaceFirst("minecraft:","");
|
String section = dimension+"."+ Registry.ENTITY_TYPE.getId(e.getType()).toString().replaceFirst("minecraft:","");
|
||||||
if (e.getEntityWorld().isClient)
|
if (e.getWorld().isClient)
|
||||||
section += "(client)";
|
section += "(client)";
|
||||||
long section_start = System.nanoTime();
|
long section_start = System.nanoTime();
|
||||||
return new ProfilerToken(section, section_start);
|
return new ProfilerToken(section, section_start);
|
||||||
|
|||||||
@@ -410,7 +410,7 @@ public class SpawnReporter
|
|||||||
}
|
}
|
||||||
if (entity instanceof OcelotEntity)
|
if (entity instanceof OcelotEntity)
|
||||||
{
|
{
|
||||||
for (Entity e: entity.getEntityWorld().getEntities(OcelotEntity.class, entity.getBoundingBox()))
|
for (Entity e: entity.getWorld().getEntities(OcelotEntity.class, entity.getBoundingBox()))
|
||||||
{
|
{
|
||||||
e.remove();
|
e.remove();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user