mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 11:15:24 +01:00
Updated YamlDatabaseHandler
Added (String) case to the second reference of new PropertyDescriptor. https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8212636
This commit is contained in:
parent
d4bbc423bf
commit
e5986d7a72
@ -344,7 +344,7 @@ public class YamlDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
|
||||
continue;
|
||||
}
|
||||
// Get the property descriptor for this field
|
||||
PropertyDescriptor propertyDescriptor = new PropertyDescriptor(field.getName(), dataObject);
|
||||
PropertyDescriptor propertyDescriptor = new PropertyDescriptor((String)field.getName(), dataObject);
|
||||
// Get the read method
|
||||
Method method = propertyDescriptor.getReadMethod();
|
||||
// Invoke the read method to get the value. We have no idea what type of value it is.
|
||||
|
Loading…
Reference in New Issue
Block a user