build/generate-known-translation-apis: fixed incorrect positional parameter order

closes #4639
This commit is contained in:
Dylan K. Taylor
2021-12-11 21:28:52 +00:00
parent ede07c4314
commit e06eefeab0
2 changed files with 8 additions and 2 deletions

View File

@ -244,10 +244,10 @@ final class KnownTranslationFactory{
return new Translatable(KnownTranslationKeys::COMMANDS_ENCHANT_USAGE, []);
}
public static function commands_gamemode_success_other(Translatable|string $param1, Translatable|string $param0) : Translatable{
public static function commands_gamemode_success_other(Translatable|string $param0, Translatable|string $param1) : Translatable{
return new Translatable(KnownTranslationKeys::COMMANDS_GAMEMODE_SUCCESS_OTHER, [
1 => $param1,
0 => $param0,
1 => $param1,
]);
}