Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
oops
Dieser Commit ist enthalten in:
Ursprung
1b4c537c81
Commit
09153ae620
@ -4,7 +4,7 @@ import java.util.Locale;
|
||||
|
||||
public interface PlayerSettings {
|
||||
|
||||
Locale getLocate();
|
||||
Locale getLocale();
|
||||
|
||||
byte getViewDistance();
|
||||
|
||||
|
@ -19,7 +19,7 @@ public class ClientSettingsWrapper implements PlayerSettings {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Locale getLocate() {
|
||||
public Locale getLocale() {
|
||||
return locale == null ? locale = Locale.forLanguageTag(settings.getLocale().replaceAll("_", "-")) : locale; //Will throw error if locale not found
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren