Fix chunk y position
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-09-13 21:22:10 +02:00
Ursprung 59eed20542
Commit 3d32ddbfac

Datei anzeigen

@ -56,7 +56,7 @@ public class ChunkSectionModifier {
lightEngine = getLightEngine.invoke(chunkSource); lightEngine = getLightEngine.invoke(chunkSource);
chunk = AxiomPaper.getChunk(level, cx, cz); chunk = AxiomPaper.getChunk(level, cx, cz);
section = getSection.invoke(chunk, cy - world.getMinHeight() >> 4); section = getSection.invoke(chunk, cy + world.getMinHeight() / 16);
hadOnlyAir = hasOnlyAir.invoke(section); hadOnlyAir = hasOnlyAir.invoke(section);
heightmaps = types.stream().map(chunkHeightmaps.get(chunk)::get).toArray(Heightmap[]::new); heightmaps = types.stream().map(chunkHeightmaps.get(chunk)::get).toArray(Heightmap[]::new);