mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Update upstream
54ed9e8 Add support for Y-offsets with back direction (2164)
This commit is contained in:
parent
e78277e158
commit
c520e1a686
@ -602,7 +602,12 @@ public final class WorldEdit {
|
|||||||
|
|
||||||
case "b":
|
case "b":
|
||||||
case "back":
|
case "back":
|
||||||
return getDirectionRelative(player, 180);
|
Direction dir = getDirectionRelative(player, 180);
|
||||||
|
if (dir.isUpright()) {
|
||||||
|
// If this is an upright direction, flip it.
|
||||||
|
dir = dir == Direction.UP ? Direction.DOWN : Direction.UP;
|
||||||
|
}
|
||||||
|
return dir;
|
||||||
|
|
||||||
case "l":
|
case "l":
|
||||||
case "left":
|
case "left":
|
||||||
|
Loading…
Reference in New Issue
Block a user