修复一个睿智问题
This commit is contained in:
parent
dd2e1f7d1c
commit
84bcdaa7b3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user