fix small translation issue

This commit is contained in:
alexcrea 2026-08-15 21:38:57 +02:00
parent 8a00cc1f92
commit 6e61ac815f
Signed by: alexcrea
GPG key ID: E59DF23EE2A2266C
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ class DebugToggleExecutor : CASubCommand {
}
if(args.isEmpty()) {
MsgCommand.SHARED_MISSING_SUBCOMMAND.send(sender)
MsgCommand.SHARED_MISSING_SUBCOMMAND.send(sender, "\"toggle\"", "\"get\"")
return true
}
when(args[0].lowercase()) {

View file

@ -84,7 +84,7 @@ open class Message(val key: String, vararg val params: String) {
val section = Lang.getSection(key)
if(section != null) return formattedMultiline(section, *params)
val translated = unformattedMonoline(key, *params)
val translated = unformattedMonoline(*params)
return listOf(MiniMessageUtil.mm.deserialize(translated))
}