This commit is contained in:
gnembon committed 2020-07-20 21:06:03 -03:00
1 parent 0e8cf69539
commit e67ec14285
25 files changed
+49 -50

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ public class MobAI
aiTrackers.remove(etype);
for(ServerWorld world : CarpetServer.minecraft_server.getWorlds() )
{
for (Entity e: world.getEntities(etype, Entity::hasCustomName))
for (Entity e: world.getEntitiesByType(etype, Entity::hasCustomName))
{
e.setCustomNameVisible(false);
e.setCustomName(null);