From dba9d70b37fba301c0560451310e68f634fc056b Mon Sep 17 00:00:00 2001 From: Gravit Date: Thu, 4 Jun 2020 13:28:33 +0700 Subject: [PATCH] [FIX] LauncherModuleLoader --- .../launchserver/launchermodules/LauncherModuleLoader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 5c9c38a2..723bae4c 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/launchermodules/LauncherModuleLoader.java @@ -148,9 +148,10 @@ 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()); + String propertyName = prefix.concat(".").concat(field.getName().toLowerCase()); if(InjectClassAcceptor.isSerializableValue(obj)) { + LogHelper.dev("Property name %s", propertyName); propertyMap.put(propertyName, obj); } else