Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
/fixwater and /fixlava no longer cross solely diagonally connected pools.
Dieser Commit ist enthalten in:
Ursprung
9e320dea6b
Commit
d6d6624a04
@ -1228,15 +1228,10 @@ public class EditSession {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int x = cur.getBlockX() - 1; x <= cur.getBlockX() + 1; x++) {
|
queue.push(cur.add(1, 0, 0).toBlockVector());
|
||||||
for (int z = cur.getBlockZ() - 1; z <= cur.getBlockZ() + 1; z++) {
|
queue.push(cur.add(-1, 0, 0).toBlockVector());
|
||||||
BlockVector newPos = new BlockVector(x, cur.getBlockY(), z);
|
queue.push(cur.add(0, 0, 1).toBlockVector());
|
||||||
|
queue.push(cur.add(0, 0, -1).toBlockVector());
|
||||||
if (!cur.equals(newPos)) {
|
|
||||||
queue.push(newPos);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return affected;
|
return affected;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren