mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Fix for plugin description file cast error
This commit is contained in:
parent
08b38c850b
commit
846831634b
1 changed files with 5 additions and 5 deletions
|
@ -85,9 +85,9 @@ public final class PluginDescriptionFile {
|
|||
}
|
||||
|
||||
private void loadMap(Map<String, Object> map) throws ClassCastException {
|
||||
name = (String)map.get("name");
|
||||
main = (String)map.get("main");
|
||||
version = (String)map.get("version");
|
||||
name = map.get("name").toString();
|
||||
main = map.get("main").toString();
|
||||
version = map.get("version").toString();
|
||||
}
|
||||
|
||||
private Map<String, Object> saveMap() {
|
||||
|
|
Loading…
Add table
Reference in a new issue