mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 00:15:56 +02:00
fix small translation issue
This commit is contained in:
parent
8a00cc1f92
commit
6e61ac815f
2 changed files with 2 additions and 2 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue