Fix Packet
This commit is contained in:
parent
f078538d23
commit
ea029a9466
@ -80,8 +80,8 @@ public class TInjectHelper {
|
|||||||
instance.add(CompatKotlin.getCompanion(pluginClass));
|
instance.add(CompatKotlin.getCompanion(pluginClass));
|
||||||
}
|
}
|
||||||
// Main
|
// Main
|
||||||
else if (pluginClass.equals(plugin.getClass())) {
|
if (pluginClass.equals(PluginLoader.get(plugin).getClass())) {
|
||||||
instance.add(plugin);
|
instance.add(PluginLoader.get(plugin));
|
||||||
}
|
}
|
||||||
// TInject
|
// TInject
|
||||||
else if (TInjectCreator.getInstanceMap().entrySet().stream().anyMatch(e -> e.getKey().getType().equals(pluginClass))) {
|
else if (TInjectCreator.getInstanceMap().entrySet().stream().anyMatch(e -> e.getKey().getType().equals(pluginClass))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user