Fixed 'up' being recognized as west in some direction utilizing commands.

This commit is contained in:
sk89q 2011-01-03 12:11:58 -08:00
parent a35fa4ece3
commit e8c1dba504

View File

@ -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;