Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-06 03:20:06 +01:00
fix: hollow on large areas fails (#2900)
fix: determine BlockVector3Set by region size for recurse hollow
Dieser Commit ist enthalten in:
Ursprung
f5f9ae6a85
Commit
6a0b006da6
@ -3611,7 +3611,8 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void recurseHollow(Region region, BlockVector3 origin, Set<BlockVector3> outside, Mask mask) {
|
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);
|
queue.add(origin);
|
||||||
|
|
||||||
while (!queue.isEmpty()) {
|
while (!queue.isEmpty()) {
|
||||||
@ -3634,6 +3635,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// FAWE end
|
||||||
}
|
}
|
||||||
|
|
||||||
public int makeBiomeShape(
|
public int makeBiomeShape(
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren