[FIX] LauncherModuleLoader

This commit is contained in:
Gravit 2020-06-04 13:28:33 +07:00
parent 81abc3fdc2
commit dba9d70b37
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -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