mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-11 02:07:38 +00:00
/green now fails a bit less.
This commit is contained in:
parent
3c92bd9451
commit
2893438f8e
@ -2075,15 +2075,15 @@ public class EditSession {
|
|||||||
Vector pt = new Vector(x, y, z);
|
Vector pt = new Vector(x, y, z);
|
||||||
int id = getBlockType(pt);
|
int id = getBlockType(pt);
|
||||||
|
|
||||||
if (id == 0)
|
if (id == 0 || id == BlockID.SNOW)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (id == BlockID.DIRT) {
|
if (id == BlockID.DIRT) {
|
||||||
if (setBlock(pt, grass)) {
|
if (setBlock(pt, grass)) {
|
||||||
++affected;
|
++affected;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user