diff --git a/src/main/java/net/torocraft/flighthud/FlightHud.java b/src/main/java/net/torocraft/flighthud/FlightHud.java index 97283cb3..c98b6a36 100644 --- a/src/main/java/net/torocraft/flighthud/FlightHud.java +++ b/src/main/java/net/torocraft/flighthud/FlightHud.java @@ -143,7 +143,7 @@ private static void setupKeycCode() { private static void setupCommand() { ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) -> { - LiteralCommandNode node = dispatcher.register(literal("flightassistant") + LiteralCommandNode node = dispatcher.register(literal(FlightHud.MODID) .then(literal("toggle").executes(new SwitchDisplayModeCommand())) .then(literal("nav") .then(argument("destinationX", IntegerArgumentType.integer(-30_000_000, 30_000_000)) @@ -156,6 +156,7 @@ private static void setupCommand() { .executes(new AltitudeSelectCommand())) .then(literal("reset") .executes(new AltitudeResetCommand())))); + dispatcher.register(literal("flas").redirect(node)); dispatcher.register(literal("fhud").redirect(node)); dispatcher.register(literal("fh").redirect(node)); });