3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-03 01:50:07 +01:00
Dieser Commit ist enthalten in:
Jesse Boyd 2018-10-16 02:27:10 +11:00
Ursprung 80bd889a0d
Commit c04f99a720
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -167,7 +167,10 @@ public class NavigationCommands {
@Command(
aliases = {"jumpto", "j"},
usage = "[world,x,y,z]",
desc = "Teleport to a location",
desc = "Teleport to a location" +
"Flags:\n" +
" -f forces the specified position to be used",
flags = "f",
min = 0,
max = 1
)
@ -188,7 +191,7 @@ public class NavigationCommands {
pos = player.getSolidBlockTrace(300);
}
if (pos != null) {
player.findFreePosition(pos);
if(args.hasFlag('f')) player.setPosition(pos); else player.findFreePosition(pos);
BBC.POOF.send(player);
} else {
BBC.NO_BLOCK.send(player);