fix 1.8 generation

This commit is contained in:
Tyler Murphy 2022-08-17 14:57:13 -04:00
parent c84db28f9c
commit de83b7b26e

View file

@ -75,15 +75,11 @@ public class VoidGenerator extends ChunkGenerator {
// 1.8 // 1.8
public byte[] generate(World world, Random random, int x, int z) { public byte[] generate(World world, Random random, int x, int z) {
return null; return new byte[world.getMaxHeight() / 16];
}
public short[][] generateExtBlockSections(World world, Random random, int x, int z, ChunkGenerator.BiomeGrid biomes) {
return null;
} }
public byte[][] generateBlockSections(World world, Random random, int x, int z, ChunkGenerator.BiomeGrid biomes) { public byte[][] generateBlockSections(World world, Random random, int x, int z, ChunkGenerator.BiomeGrid biomes) {
return null; return new byte[world.getMaxHeight() / 16][];
} }