3
0
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:
sk89q 2010-11-26 23:02:18 -08:00
Ursprung 9e320dea6b
Commit d6d6624a04

Datei anzeigen

@ -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;