summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/world
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-08-18 14:59:26 -0400
committerGitHub <noreply@github.com>2022-08-18 14:59:26 -0400
commit87a859a5db050112d38bcdc8eb42f46f681c5f18 (patch)
tree0c43d08dc6fc6d3c23aca21a330db25e193dd0a9 /src/main/java/net/tylermurphy/hideAndSeek/world
parentMerge pull request #76 from tylermurphy534/1.6.1 (diff)
parentfix pom (diff)
downloadkenshinshideandseek-87a859a5db050112d38bcdc8eb42f46f681c5f18.tar.gz
kenshinshideandseek-87a859a5db050112d38bcdc8eb42f46f681c5f18.tar.bz2
kenshinshideandseek-87a859a5db050112d38bcdc8eb42f46f681c5f18.zip
Merge pull request #81 from tylermurphy534/1.6.2
1.6.2
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/world')
-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][];
}