修复一个睿智问题

This commit is contained in:
坏黑 2018-07-09 21:06:10 +08:00
parent dd2e1f7d1c
commit 84bcdaa7b3

View File

@ -46,7 +46,7 @@ public class TDependencyInjector {
}
public static void inject(Plugin plugin, Object o) {
if (!plugin.equals(Main.getInst()) && !injected.contains(plugin.getName())) {
if (!injected.contains(plugin.getName())) {
injected.add(plugin.getName());
TLocaleLoader.load(plugin, true);
injectDependencies(plugin, o);