mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 08:25:56 +02:00
fix small translation issue
This commit is contained in:
parent
b0a34b6b14
commit
58d363c4c7
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