mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-21 15:23:50 -07:00
@@ -1019,11 +1019,7 @@ public final class PluginDescriptionFile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (map.get("api-version") != null) {
|
if (map.get("api-version") != null) {
|
||||||
try {
|
|
||||||
apiVersion = map.get("api-version").toString();
|
apiVersion = map.get("api-version").toString();
|
||||||
} catch (ClassCastException ex) {
|
|
||||||
throw new InvalidDescriptionException(ex, "api-version is of wrong type");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user