mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Set the minimum Java version to 16; drop Bedrock 1.17.0 (#2477)
This commit is contained in:
parent
93f5298ee3
commit
bc0cfde8f9
93 changed files with 668 additions and 10637 deletions
|
|
@ -57,8 +57,7 @@ public class BungeeCommandSender implements CommandSender {
|
|||
|
||||
@Override
|
||||
public String getLocale() {
|
||||
if (handle instanceof ProxiedPlayer) {
|
||||
ProxiedPlayer player = (ProxiedPlayer) handle;
|
||||
if (handle instanceof ProxiedPlayer player) {
|
||||
String locale = player.getLocale().getLanguage() + "_" + player.getLocale().getCountry();
|
||||
return LanguageUtils.formatLocale(locale);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue