diff --git a/src/main/java/cn/nukkit/level/format/leveldb/structure/LevelDBChunk.java b/src/main/java/cn/nukkit/level/format/leveldb/structure/LevelDBChunk.java index bf635386d..eae1c157d 100644 --- a/src/main/java/cn/nukkit/level/format/leveldb/structure/LevelDBChunk.java +++ b/src/main/java/cn/nukkit/level/format/leveldb/structure/LevelDBChunk.java @@ -73,8 +73,7 @@ public LevelDBChunk(@Nullable LevelProvider provider, int chunkX, int chunkZ, @N this.heightMap[i] = (byte) heightmap[i]; } } else { - Arrays.fill(this.heightMap, (byte)-1); - this.recalculateHeightMap(); + Arrays.fill(this.heightMap, (byte) 255); } if (biomes2d != null && biomes2d.length == SUB_CHUNK_2D_SIZE) {