mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed //flip sometimes throwing errors about unknown directions.
This commit is contained in:
parent
8d688165ee
commit
7a3ddfe7bc
@ -745,13 +745,13 @@ public class WorldEdit {
|
||||
dir = player.getCardinalDirection();
|
||||
}
|
||||
|
||||
if (dirStr.charAt(0) == 'w' || dir == PlayerDirection.EAST) {
|
||||
if (dirStr.charAt(0) == 'w' || dir == PlayerDirection.WEST) {
|
||||
return CuboidClipboard.FlipDirection.WEST_EAST;
|
||||
} else if (dirStr.charAt(0) == 'e' || dir == PlayerDirection.EAST) {
|
||||
return CuboidClipboard.FlipDirection.WEST_EAST;
|
||||
} else if (dirStr.charAt(0) == 's' || dir == PlayerDirection.SOUTH) {
|
||||
return CuboidClipboard.FlipDirection.NORTH_SOUTH;
|
||||
} else if (dirStr.charAt(0) == 'n' || dir == PlayerDirection.SOUTH) {
|
||||
} else if (dirStr.charAt(0) == 'n' || dir == PlayerDirection.NORTH) {
|
||||
return CuboidClipboard.FlipDirection.NORTH_SOUTH;
|
||||
} else if (dirStr.charAt(0) == 'u') {
|
||||
return CuboidClipboard.FlipDirection.UP_DOWN;
|
||||
|
Loading…
Reference in New Issue
Block a user