From 846e9b883ebd5bc6894e0584d9f5b34a69f5a521 Mon Sep 17 00:00:00 2001 From: ted Date: Mon, 15 Jul 2013 13:45:46 +0200 Subject: [PATCH] Fixed ArrayOutOfBounds error --- src/minecraft/biomesoplenty/world/ChunkProviderBOP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minecraft/biomesoplenty/world/ChunkProviderBOP.java b/src/minecraft/biomesoplenty/world/ChunkProviderBOP.java index 751b74075..7bac71174 100644 --- a/src/minecraft/biomesoplenty/world/ChunkProviderBOP.java +++ b/src/minecraft/biomesoplenty/world/ChunkProviderBOP.java @@ -330,7 +330,7 @@ public class ChunkProviderBOP implements IChunkProvider public Chunk provideChunk(int par1, int par2) { rand.setSeed(par1 * 341873128712L + par2 * 132897987541L); - byte[] abyte = new byte[32768]; + byte[] abyte = new byte[0x65536]; this.generateTerrain(par1, par2, abyte); biomesForGeneration = worldObj.getWorldChunkManager().loadBlockGeneratorData(biomesForGeneration, par1 * 16, par2 * 16, 16, 16); this.replaceBlocksForBiome(par1, par2, abyte, biomesForGeneration);