Initializing biomesToSpawnIn
Prevents an NPE when the Spawn Point is moved to the nether.
This commit is contained in:
parent
95deff2312
commit
c2758a1288
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue