mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
Add missing error message argument in ClientCommandInternals(#2988)
Fixed a translation bug where "command.context.parse_error" was translated with two arguments, while it takes three as input.
This commit is contained in:
parent
1d87947a0e
commit
df5b2a9d77
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ public final class ClientCommandInternals {
|
|||
Text message = Texts.toText(e.getRawMessage());
|
||||
String context = e.getContext();
|
||||
|
||||
return context != null ? Text.translatable("command.context.parse_error", message, context) : message;
|
||||
return context != null ? Text.translatable("command.context.parse_error", message, e.getCursor(), context) : message;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue