3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

Added left, right, back and forward directions to all directional commands.

Dieser Commit ist enthalten in:
TomyLobo 2011-10-25 01:07:08 +02:00
Ursprung 2d654b59c5
Commit 3ed867ed53

Datei anzeigen

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