mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
address code review round 3
This commit is contained in:
1 parent
b729aee545
commit
e2396d202b
10 files changed
+97
-18
No files matched your search
@@ -13,7 +13,7 @@ public abstract class BasePlugin : IPlugin
|
||||
{
|
||||
var metadata = MetadataHelper.GetPluginMetadata(this);
|
||||
|
||||
if (BaseChainloader<BasePlugin>.Instance.TryGetPluginInfoFromGuid(metadata.GUID, out var pluginInfo))
|
||||
if (BaseChainloader<BasePlugin>.Instance.Plugins.TryGetValue(metadata.GUID, out var pluginInfo))
|
||||
{
|
||||
Info = pluginInfo;
|
||||
Info.Instance = this;
|
||||
|
||||
Reference in new issue
Block a user