geforkt von Mirrors/Velocity
oops
Dieser Commit ist enthalten in:
Ursprung
1b4c537c81
Commit
09153ae620
@ -4,7 +4,7 @@ import java.util.Locale;
|
|||||||
|
|
||||||
public interface PlayerSettings {
|
public interface PlayerSettings {
|
||||||
|
|
||||||
Locale getLocate();
|
Locale getLocale();
|
||||||
|
|
||||||
byte getViewDistance();
|
byte getViewDistance();
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ public class ClientSettingsWrapper implements PlayerSettings {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Locale getLocate() {
|
public Locale getLocale() {
|
||||||
return locale == null ? locale = Locale.forLanguageTag(settings.getLocale().replaceAll("_", "-")) : locale; //Will throw error if locale not found
|
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