diff --git a/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java b/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java index 801a323d9c..0c9f4d1e91 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java +++ b/paper-api/src/main/java/org/bukkit/plugin/PluginDescriptionFile.java @@ -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."); } /**