geforkt von Mirrors/Paper
SPIGOT-6642: Throw better message if plugin.yml is empty
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
c30e6c45cd
Commit
581806d851
@ -1258,7 +1258,7 @@ public final class PluginDescriptionFile {
|
||||
if (object instanceof Map) {
|
||||
return (Map<?, ?>) object;
|
||||
}
|
||||
throw new InvalidDescriptionException(object + " is not properly structured.");
|
||||
throw new InvalidDescriptionException("Plugin description file is empty or not properly structured. Is " + object + "but should be a map.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren