geforkt von Mirrors/FastAsyncWorldEdit
Fixed bug with //replace causing a NullPointerException.
Dieser Commit ist enthalten in:
Ursprung
a20ecc0887
Commit
19f7456c51
@ -630,8 +630,9 @@ public class EditSession {
|
|||||||
Vector pt = new Vector(x, y, z);
|
Vector pt = new Vector(x, y, z);
|
||||||
int curBlockType = getBlock(pt).getID();
|
int curBlockType = getBlock(pt).getID();
|
||||||
|
|
||||||
if (fromBlockTypes == null && curBlockType != 0 ||
|
if ((fromBlockTypes == null && curBlockType != 0) ||
|
||||||
fromBlockTypes.contains(curBlockType)) {
|
(fromBlockTypes != null &&
|
||||||
|
fromBlockTypes.contains(curBlockType))) {
|
||||||
if (setBlock(pt, toBlock)) {
|
if (setBlock(pt, toBlock)) {
|
||||||
affected++;
|
affected++;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren