mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
SPIGOT-6642: Throw better message if plugin.yml is empty
By: md_5 <git@md-5.net>
This commit is contained in:
parent
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.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user