3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00

Actually do what I said for min/max Y in HeightmapProcessor

Dieser Commit ist enthalten in:
dordsor21 2021-09-11 14:25:47 +01:00
Ursprung 2c0c57ec4f
Commit a923c112ee
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -55,8 +55,7 @@ public class HeightmapProcessor implements IBatchProcessor {
int skip = 0; int skip = 0;
int allSkipped = (1 << TYPES.length) - 1; // lowest types.length bits are set int allSkipped = (1 << TYPES.length) - 1; // lowest types.length bits are set
layer: layer:
//int layer = maxY >> 4; layer >= minY >> 4; layer-- for (int layer = maxY >> 4; layer >= minY >> 4; layer--) {
for (int layer = set.getMaxSectionPosition(); layer >= set.getMinSectionPosition() >> 4; layer--) {
boolean hasSectionSet = set.hasSection(layer); boolean hasSectionSet = set.hasSection(layer);
boolean hasSectionGet = get.hasSection(layer); boolean hasSectionGet = get.hasSection(layer);
if (!(hasSectionSet || hasSectionGet)) { if (!(hasSectionSet || hasSectionGet)) {