Skip to content

Commit 2ae154a

Browse files
authored
Merge pull request #26 from StarMapLoader/dev
Resolve issue in attribute resolution
2 parents 07f52d5 + dcd954c commit 2ae154a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

StarMap.Core/ModRepository/LoadedModRepository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ public void LoadMod(Mod mod)
6666
{
6767
var attr = _registeredMethodAttributes[stringAttr];
6868

69-
if (!attr.IsValidSignature(classMethod)) return;
69+
if (!attr.IsValidSignature(classMethod)) continue;
7070

71-
if (attr.GetType() == typeof(StarMapModAttribute))
71+
if (attr.GetType() == typeof(StarMapImmediateLoadAttribute))
7272
{
7373
immediateLoadMethods.Add(classMethod);
7474
}

0 commit comments

Comments
 (0)