Fixed ArrayOutOfBounds error
This commit is contained in:
parent
133dfac88b
commit
846e9b883e
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ public class ChunkProviderBOP implements IChunkProvider
|
||||||
public Chunk provideChunk(int par1, int par2)
|
public Chunk provideChunk(int par1, int par2)
|
||||||
{
|
{
|
||||||
rand.setSeed(par1 * 341873128712L + par2 * 132897987541L);
|
rand.setSeed(par1 * 341873128712L + par2 * 132897987541L);
|
||||||
byte[] abyte = new byte[32768];
|
byte[] abyte = new byte[0x65536];
|
||||||
this.generateTerrain(par1, par2, abyte);
|
this.generateTerrain(par1, par2, abyte);
|
||||||
biomesForGeneration = worldObj.getWorldChunkManager().loadBlockGeneratorData(biomesForGeneration, par1 * 16, par2 * 16, 16, 16);
|
biomesForGeneration = worldObj.getWorldChunkManager().loadBlockGeneratorData(biomesForGeneration, par1 * 16, par2 * 16, 16, 16);
|
||||||
this.replaceBlocksForBiome(par1, par2, abyte, biomesForGeneration);
|
this.replaceBlocksForBiome(par1, par2, abyte, biomesForGeneration);
|
||||||
|
|
Loading…
Reference in a new issue