During setPlayerLocale store the LocaleString

Without this change, we have to manually put this value on each
call to setPlayerLocale.
This commit is contained in:
chickeneer
2025-03-23 20:15:35 -05:00
parent 89575e67bd
commit 2b2e81c5ae
2 changed files with 1 additions and 1 deletions
@@ -55,7 +55,6 @@ class ACFBukkitLocalesListener implements Listener {
if (locale == null) {
return;
}
manager.issuersLocaleString.put(player.getUniqueId(), locale.toString());
manager.setPlayerLocale(player, locale);
}
}
@@ -315,6 +315,7 @@ public class BukkitCommandManager extends CommandManager<
}
public Locale setPlayerLocale(Player player, Locale locale) {
issuersLocaleString.put(player.getUniqueId(), locale.toString());
return this.setIssuerLocale(player, locale);
}