Fix for plugin description file cast error
This commit is contained in:
parent
08b38c850b
commit
846831634b
@ -85,9 +85,9 @@ public final class PluginDescriptionFile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void loadMap(Map<String, Object> map) throws ClassCastException {
|
private void loadMap(Map<String, Object> map) throws ClassCastException {
|
||||||
name = (String)map.get("name");
|
name = map.get("name").toString();
|
||||||
main = (String)map.get("main");
|
main = map.get("main").toString();
|
||||||
version = (String)map.get("version");
|
version = map.get("version").toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private Map<String, Object> saveMap() {
|
private Map<String, Object> saveMap() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user