mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
1 parent
da073e8e66
commit
e3d4acc303
50 files changed
+96
-107
No files matched your search
@@ -1060,9 +1060,9 @@ public final class PluginDescriptionFile {
|
||||
return map;
|
||||
}
|
||||
|
||||
private Map<?,?> asMap(Object object) throws InvalidDescriptionException {
|
||||
private Map<?, ?> asMap(Object object) throws InvalidDescriptionException {
|
||||
if (object instanceof Map) {
|
||||
return (Map<?,?>) object;
|
||||
return (Map<?, ?>) object;
|
||||
}
|
||||
throw new InvalidDescriptionException(object + " is not properly structured.");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user