diff --git a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java index e11936b44..4029960bc 100755 --- a/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java +++ b/src/main/java/com/gmail/nossr50/util/blockmeta/chunkmeta/HashChunkManager.java @@ -619,11 +619,9 @@ public class HashChunkManager implements ChunkManager { List tempSpawnedMobs = new ArrayList(spawnedMobs); for (Entity entity : tempSpawnedMobs) { - if (entity.isDead()) - mobsToRemove.add(entity); - - if (!entity.isValid()) + if (entity.isDead() || !entity.isValid()) { mobsToRemove.add(entity); + } } spawnedMobs.removeAll(mobsToRemove);