Skip to content

Commit

Permalink
Add plugin name to missing dependency error (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
PetteriM1 authored Jul 29, 2023
1 parent 06f7925 commit 3a17f94
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 3a17f94

Please sign in to comment.