Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
SPIGOT-5592: Custom ChunkGenerator can cause bugged dirt
Dieser Commit ist enthalten in:
Ursprung
3f6d0de989
Commit
25a9a9ff62
@ -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;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren