geforkt von Mirrors/FastAsyncWorldEdit
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) {
|
public void visit(BlockVector3 position) {
|
||||||
if (!visited.contains(position)) {
|
if (!visited.contains(position)) {
|
||||||
|
isVisitable(position, position); // Ignore this, just to initialize mask on this point
|
||||||
queue.add(position);
|
queue.add(position);
|
||||||
visited.add(position);
|
visited.add(position);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren