Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Added left, right, back and forward directions to all directional commands.
Dieser Commit ist enthalten in:
Ursprung
2d654b59c5
Commit
3ed867ed53
@ -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);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren