This commit is contained in:
gnembon committed 2025-05-13 23:20:31 +02:00
1 parent 74e8a8d2ec
commit 52cf8c027a
11 files changed
+38 -38

No files matched your search

@@ -382,7 +382,7 @@ public class SpawnReporter
}
if (entity instanceof Ocelot)
{
for (Entity e: entity.getCommandSenderWorld().getEntities(entity, entity.getBoundingBox()))
for (Entity e: entity.level().getEntities(entity, entity.getBoundingBox()))
{
e.discard();
}