diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java b/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java index 723bae4c..6575c9ca 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java @@ -19,10 +19,7 @@ import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; +import java.util.*; import java.util.jar.Attributes; import java.util.jar.JarFile; @@ -148,7 +145,7 @@ public void addClassFieldsToProperties(Map propertyMap, String p for (Field field : fields) { if ((field.getModifiers() & Modifier.STATIC) != 0) continue; Object obj = field.get(object); - String propertyName = prefix.concat(".").concat(field.getName().toLowerCase()); + String propertyName = prefix.concat(".").concat(field.getName().toLowerCase(Locale.US)); if(InjectClassAcceptor.isSerializableValue(obj)) { LogHelper.dev("Property name %s", propertyName);