Fixed JsonConfigWrapper#clone returning internal JsonConfigWrapper rather than JSONConfig

This commit is contained in:
Auxilor
2021-06-25 09:15:45 +01:00
parent d641adadea
commit dac5ffce9a

View File

@@ -339,7 +339,7 @@ public abstract class JsonConfigWrapper implements JSONConfig, Cloneable {
}
@Override
public JsonConfigWrapper clone() {
public JSONConfig clone() {
return new JsonConfigSection(new HashMap<>(this.getValues()));
}
}