mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2025-09-02 11:36:59 +00:00
@ -46,7 +46,7 @@ public class BukkitConstructor extends YamlConstructor {
|
||||
final String key = raw.get(ConfigurationSerialization.SERIALIZED_TYPE_KEY).toString();
|
||||
if (constructor.containsKey(key)) {
|
||||
try {
|
||||
return constructor.get(key).invoke(null, raw);
|
||||
return constructor.get(key).invoke(null, typed);
|
||||
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException ex) {
|
||||
throw new YAMLException("Could not deserialize object", ex);
|
||||
}
|
||||
|
Reference in New Issue
Block a user