mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-20 13:05:35 +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