Skip to content

Commit

Permalink
Fix raise and lower deform brushes (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Sep 11, 2021
1 parent 6c08b68 commit fbf61ef
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -462,7 +462,7 @@ public void raise(Player player, LocalSession localSession,
@Arg(desc = "The size of the brush", def = "5")
double 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");
}

@Command(
Expand All @@ -476,7 +476,7 @@ public void lower(Player player, LocalSession localSession,
@Arg(desc = "The size of the brush", def = "5")
double 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");
}

@Command(
Expand Down

0 comments on commit fbf61ef

Please sign in to comment.