fix: also load plugins with API level higher than current dalamud

This commit is contained in:
goat 2020-12-03 20:48:08 +01:00
parent 6b3c6ea1d2
commit d392ee9afa
2 changed files with 2 additions and 1 deletions

View file

@ -171,7 +171,7 @@ namespace Dalamud.Plugin
DalamudApiLevel = DALAMUD_API_LEVEL
};
if (pluginDef.DalamudApiLevel != DALAMUD_API_LEVEL) {
if (pluginDef.DalamudApiLevel < DALAMUD_API_LEVEL) {
Log.Error("Incompatible API level: {0}", dllFile.FullName);
return false;
}

1
lib/Reloaded.Hooks Submodule

@ -0,0 +1 @@
Subproject commit 010d3a6500be46a418d5de905d7ae8907b581cc9