From c2758a1288df9a91487a2a0362922b4a773426be Mon Sep 17 00:00:00 2001 From: Lumien Date: Sun, 15 Jun 2014 14:58:57 +0200 Subject: [PATCH] Initializing biomesToSpawnIn Prevents an NPE when the Spawn Point is moved to the nether. --- .../biomesoplenty/common/world/WorldChunkManagerBOPHell.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/biomesoplenty/common/world/WorldChunkManagerBOPHell.java b/src/main/java/biomesoplenty/common/world/WorldChunkManagerBOPHell.java index b85a1157d..7a3c86e99 100644 --- a/src/main/java/biomesoplenty/common/world/WorldChunkManagerBOPHell.java +++ b/src/main/java/biomesoplenty/common/world/WorldChunkManagerBOPHell.java @@ -26,6 +26,7 @@ public class WorldChunkManagerBOPHell extends WorldChunkManager protected WorldChunkManagerBOPHell() { biomeCache = new BiomeCacheHell(this); + biomesToSpawnIn = new ArrayList(); } public WorldChunkManagerBOPHell(long par1, WorldType par3WorldType) @@ -264,4 +265,4 @@ public class WorldChunkManagerBOPHell extends WorldChunkManager { biomeCache.cleanupCache(); } -} \ No newline at end of file +}