From 56cbcb12cea0b7bf69ea48f758d4644287bb1886 Mon Sep 17 00:00:00 2001 From: nea Date: Wed, 8 Feb 2023 22:50:18 +0100 Subject: Fix diag command help --- .../io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt index 8985caaa..3e5e7b9b 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt @@ -41,8 +41,8 @@ class DiagCommand { thenArgumentExecute("usecenter", bool()) { useCenter -> CrystalMetalDetectorSolver.setDebugDoNotUseCenter(this[useCenter]) reply("Center coordinates-based solutions ${if (this[useCenter]) "enabled" else "disabled"}") - } - }.withHelp("Toggle coordinate based solutions") + }.withHelp("Toggle coordinate based solutions") + } thenExecute { CrystalMetalDetectorSolver.logDiagnosticData(true) reply("Enabled metal detector diagnostic logging.") -- cgit