mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-30 04:34:43 +02:00
Removed some unnecessary casting.
This commit is contained in:
@ -175,10 +175,10 @@ public class HashChunkManager implements ChunkManager {
|
||||
|
||||
for(LivingEntity entity : world.getLivingEntities()) {
|
||||
if(mobs.contains(entity.getUniqueId()))
|
||||
addSpawnedMob((Entity) entity);
|
||||
addSpawnedMob(entity);
|
||||
|
||||
if(pets.contains(entity.getUniqueId()))
|
||||
addSpawnedPet((Entity) entity);
|
||||
addSpawnedPet(entity);
|
||||
}
|
||||
|
||||
in.clearSpawnedMobs();
|
||||
|
Reference in New Issue
Block a user