<BUG>biomeArray[i] = (byte) Biome.getIdForBiome(Biomes.PLAINS);}</BUG><CONTEXT>ChunkPrimer chunkprimer = new ChunkPrimer();generate(x, z, chunkprimer);Chunk chunk = new Chunk(world, chunkprimer, x, z);byte[] biomeArray = chunk.getBiomeArray();for (int i = 0; i < biomeArray.length; ++i) {<extra_id_0>chunk.generateSkylightMap();return chunk;}</CONTEXT>
biomeArray[i] = (byte) 42;