summaryrefslogtreewikicommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/world/VoidGenerator.java8
1 files 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][];
}