Skip to content

Commit

Permalink
Add plugin name to missing dependency error
Browse files Browse the repository at this point in the history
  • Loading branch information
PetteriM1 authored Jul 27, 2023
1 parent 859aa11 commit eddcde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/nukkit/plugin/PluginManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public Map<String, Plugin> loadPlugins(File dictionary, List<String> newLoaders,
dependencies.get(name).remove(dependency);
} else if (!plugins.containsKey(dependency)) {
this.server.getLogger().critical(this.server.getLanguage().translateString("nukkit" +
".plugin.loadError", new String[]{name, "%nukkit.plugin.unknownDependency"}));
".plugin.loadError", new String[]{name, "%nukkit.plugin.unknownDependency"}) + ": " + dependency);
break;
}
}
Expand Down

0 comments on commit eddcde2

Please sign in to comment.