mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 09:59:42 -05:00
1 parent
93510b0edf
commit
335202751d
1 file changed
+1
-5
@@ -1019,11 +1019,7 @@ public final class PluginDescriptionFile {
|
||||
}
|
||||
|
||||
if (map.get("api-version") != null) {
|
||||
try {
|
||||
apiVersion = map.get("api-version").toString();
|
||||
} catch (ClassCastException ex) {
|
||||
throw new InvalidDescriptionException(ex, "api-version is of wrong type");
|
||||
}
|
||||
apiVersion = map.get("api-version").toString();
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user