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

fix: hollow on large areas fails (#2900)

fix: determine BlockVector3Set by region size for recurse hollow
Dieser Commit ist enthalten in:
Pierre Maurice Schwang 2024-09-01 12:25:54 +02:00 committet von GitHub
Ursprung f5f9ae6a85
Commit 6a0b006da6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194

Datei anzeigen

@ -3611,7 +3611,8 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
}
private void recurseHollow(Region region, BlockVector3 origin, Set<BlockVector3> outside, Mask mask) {
final LocalBlockVectorSet queue = new LocalBlockVectorSet();
// FAWE start - use BlockVector3Set instead of LinkedList
final BlockVector3Set queue = BlockVector3Set.getAppropriateVectorSet(region);
queue.add(origin);
while (!queue.isEmpty()) {
@ -3634,6 +3635,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
}
}
}
// FAWE end
}
public int makeBiomeShape(