From 268db103611cad8ad62ff18a8aae7b5682cabe40 Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 14 Jan 2013 00:34:01 -0500 Subject: [PATCH] Parameterize our ArrayLists. --- .../nossr50/util/blockmeta/chunkmeta/HashChunkManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ff50cea81..b66b66f43 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 @@ -643,7 +643,7 @@ public class HashChunkManager implements ChunkManager { mobsToRemove.clear(); - tempSpawnedMobs = new ArrayList(spawnedMobs); + tempSpawnedMobs = new ArrayList(spawnedMobs); for (Entity entity : tempSpawnedMobs) { if (entity.isDead()) mobsToRemove.add(entity); @@ -652,7 +652,7 @@ public class HashChunkManager implements ChunkManager { mobsToRemove.add(entity); } - tempSpawnedPets = new ArrayList(spawnedPets); + tempSpawnedPets = new ArrayList(spawnedPets); for (Entity entity : tempSpawnedPets) { if (entity.isDead()) mobsToRemove.add(entity);