Removed some unnecessary casting.

This commit is contained in:
gmcferrin
2013-01-07 17:08:53 -05:00
parent b8d346d890
commit d69cf09d4e
7 changed files with 14 additions and 14 deletions

View File

@ -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();