Initializing biomesToSpawnIn

Prevents an NPE when the Spawn Point is moved to the nether.
This commit is contained in:
Lumien 2014-06-15 14:58:57 +02:00
parent 95deff2312
commit c2758a1288
1 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ public class WorldChunkManagerBOPHell extends WorldChunkManager
protected WorldChunkManagerBOPHell()
{
biomeCache = new BiomeCacheHell(this);
biomesToSpawnIn = new ArrayList<BiomeGenBase>();
}
public WorldChunkManagerBOPHell(long par1, WorldType par3WorldType)
@ -264,4 +265,4 @@ public class WorldChunkManagerBOPHell extends WorldChunkManager
{
biomeCache.cleanupCache();
}
}
}