Update Upstream

fbf61ef Fix raise and lower deform brushes (1889)
This commit is contained in:
NotMyFault 2021-09-11 10:15:44 +02:00
parent db24b429c1
commit f29d68b16e
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -1113,7 +1113,7 @@ public class BrushCommands {
Expression radius
) throws WorldEditException {
setOperationBasedBrush(player, localSession, radius,
new Deform("y-=1"), shape, "worldedit.brush.raise"
new Deform("y-=1", Deform.Mode.RAW_COORD), shape, "worldedit.brush.raise"
);
}
@ -1130,7 +1130,7 @@ public class BrushCommands {
Expression radius
) throws WorldEditException {
setOperationBasedBrush(player, localSession, radius,
new Deform("y+=1"), shape, "worldedit.brush.lower"
new Deform("y+=1", Deform.Mode.RAW_COORD), shape, "worldedit.brush.lower"
);
}