3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +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; dir = PlayerDirection.DOWN;
break; break;
case 'm': case 'm': // me
case 'f': // forward
dir = player.getCardinalDirection(0); dir = player.getCardinalDirection(0);
break; 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: default:
throw new UnknownDirectionException(dirStr); throw new UnknownDirectionException(dirStr);
} }