diff --git a/src/main/java/emu/grasscutter/Config.java b/src/main/java/emu/grasscutter/Config.java index 467d0f04e..dd24ac8a0 100644 --- a/src/main/java/emu/grasscutter/Config.java +++ b/src/main/java/emu/grasscutter/Config.java @@ -1,5 +1,6 @@ package emu.grasscutter; +import java.util.Locale; import emu.grasscutter.Grasscutter.ServerDebugMode; import emu.grasscutter.Grasscutter.ServerRunMode; import emu.grasscutter.game.mail.Mail; @@ -22,7 +23,7 @@ public final class Config { public ServerRunMode RunMode = ServerRunMode.HYBRID; // HYBRID, DISPATCH_ONLY, GAME_ONLY public GameServerOptions GameServer = new GameServerOptions(); public DispatchServerOptions DispatchServer = new DispatchServerOptions(); - public String Language = "en_us"; + public Locale LocaleLanguage = Locale.getDefault(); public Boolean OpenStamina = true; public GameServerOptions getGameServerOptions() { @@ -57,7 +58,7 @@ public final class Config { public int Port = 22102; } } - + public static class GameServerOptions { public String Name = "Test"; public String Ip = "0.0.0.0";