Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02:00
Support custom world min heights when processing heightmaps
Dieser Commit ist enthalten in:
Ursprung
cd576a2a87
Commit
df8b2802b2
Binäre Datei nicht angezeigt.
@ -72,7 +72,7 @@ public class HeightmapProcessor implements IBatchProcessor {
|
||||
int index = (z << 4) | x;
|
||||
if (!updated[i].get(index) // ignore if that position was already set
|
||||
&& type.includes(block)) {
|
||||
heightmaps[i][index] = y + 1; // mc requires + 1
|
||||
heightmaps[i][index] = y + 1 - minY; // mc requires + 1, heightmaps are normalized internally
|
||||
updated[i].set(index); // mark as updated
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren