fix(i18n): translation
This commit is contained in:
parent
571ed1d31d
commit
57d09f65c2
1 changed files with 0 additions and 1 deletions
|
@ -101,7 +101,6 @@ public class AnvilManager {
|
||||||
if (!actionResult.isError()) {
|
if (!actionResult.isError()) {
|
||||||
player.sendMessage(i18n.translate(I18NDict.Event.Appearance.Set.OK));
|
player.sendMessage(i18n.translate(I18NDict.Event.Appearance.Set.OK));
|
||||||
} else {
|
} else {
|
||||||
// TODO (Ineanto, 6/28/23): Check weirdness with error message not being translated sometimes
|
|
||||||
player.sendMessage(i18n.translate(I18NDict.Event.Appearance.Set.ERROR, i18n.translateWithoutPrefix(actionResult.getErrorKey())));
|
player.sendMessage(i18n.translate(I18NDict.Event.Appearance.Set.ERROR, i18n.translateWithoutPrefix(actionResult.getErrorKey())));
|
||||||
}
|
}
|
||||||
return Collections.singletonList(AnvilGUI.ResponseAction.close());
|
return Collections.singletonList(AnvilGUI.ResponseAction.close());
|
||||||
|
|
Loading…
Reference in a new issue