mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Added left, right, back and forward directions to all directional commands.
This commit is contained in:
parent
2d654b59c5
commit
3ed867ed53
@ -823,10 +823,23 @@ public class WorldEdit {
|
||||
dir = PlayerDirection.DOWN;
|
||||
break;
|
||||
|
||||
case 'm':
|
||||
case 'm': // me
|
||||
case 'f': // forward
|
||||
dir = player.getCardinalDirection(0);
|
||||
break;
|
||||
|
||||
case 'b': // back
|
||||
dir = player.getCardinalDirection(180);
|
||||
break;
|
||||
|
||||
case 'l': // left
|
||||
dir = player.getCardinalDirection(-90);
|
||||
break;
|
||||
|
||||
case 'r': // right
|
||||
dir = player.getCardinalDirection(90);
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new UnknownDirectionException(dirStr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user