Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
fix: ensure mask is initialised upon visiting a point in BreadthFirstSearch (#2314)
fix: ensure mask is initialised upon visiting a point in BreadFirstSearch
Dieser Commit ist enthalten in:
Ursprung
d961aa91bc
Commit
9f0a0dbd35
@ -229,6 +229,7 @@ public abstract class BreadthFirstSearch implements Operation {
|
||||
*/
|
||||
public void visit(BlockVector3 position) {
|
||||
if (!visited.contains(position)) {
|
||||
isVisitable(position, position); // Ignore this, just to initialize mask on this point
|
||||
queue.add(position);
|
||||
visited.add(position);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren