mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Fixed 'up' being recognized as west in some direction utilizing commands.
This commit is contained in:
parent
a35fa4ece3
commit
e8c1dba504
@ -1637,7 +1637,7 @@ public Vector getDirection(LocalPlayer player, String dirStr)
|
||||
dir = player.getCardinalDirection();
|
||||
}
|
||||
|
||||
if (dirStr.charAt(0) == 'u' || dir == LocalPlayer.DIRECTION.WEST) {
|
||||
if (dirStr.charAt(0) == 'w' || dir == LocalPlayer.DIRECTION.WEST) {
|
||||
zm += 1;
|
||||
} else if (dirStr.charAt(0) == 'e' || dir == LocalPlayer.DIRECTION.EAST) {
|
||||
zm -= 1;
|
||||
|
Loading…
Reference in New Issue
Block a user