From de83b7b26e6e0e16de6c388efba92bffc6385fb8 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Wed, 17 Aug 2022 14:57:13 -0400 Subject: [PATCH] fix 1.8 generation --- .../net/tylermurphy/hideAndSeek/world/VoidGenerator.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/tylermurphy/hideAndSeek/world/VoidGenerator.java b/src/main/java/net/tylermurphy/hideAndSeek/world/VoidGenerator.java index eadd0a9..b0ce824 100644 --- a/src/main/java/net/tylermurphy/hideAndSeek/world/VoidGenerator.java +++ b/src/main/java/net/tylermurphy/hideAndSeek/world/VoidGenerator.java @@ -75,15 +75,11 @@ public class VoidGenerator extends ChunkGenerator { // 1.8 public byte[] generate(World world, Random random, int x, int z) { - return null; - } - - public short[][] generateExtBlockSections(World world, Random random, int x, int z, ChunkGenerator.BiomeGrid biomes) { - return null; + return new byte[world.getMaxHeight() / 16]; } public byte[][] generateBlockSections(World world, Random random, int x, int z, ChunkGenerator.BiomeGrid biomes) { - return null; + return new byte[world.getMaxHeight() / 16][]; }