mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] LauncherModuleLoader
This commit is contained in:
parent
81abc3fdc2
commit
dba9d70b37
1 changed files with 2 additions and 1 deletions
|
@ -148,9 +148,10 @@ public void addClassFieldsToProperties(Map<String, Object> 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
|
||||
|
|
Loading…
Reference in a new issue