mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
Fix for plugin description file cast error
By: stevenh <steven.hartland@multiplay.co.uk>
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user