mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00
SPIGOT-5592: Custom ChunkGenerator can cause bugged dirt
This commit is contained in:
parent
3f6d0de989
commit
25a9a9ff62
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ public final class CraftChunkData implements ChunkGenerator.ChunkData {
|
|||
private ChunkSection getChunkSection(int y, boolean create) {
|
||||
ChunkSection section = sections[y >> 4];
|
||||
if (create && section == null) {
|
||||
sections[y >> 4] = section = new ChunkSection(y);
|
||||
sections[y >> 4] = section = new ChunkSection(y >> 4 << 4);
|
||||
}
|
||||
return section;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue