Merge pull request #213 from Aireil/disable_plugins_api_level

Disable plugins with incompatible API level
This commit is contained in:
goaaats 2020-12-09 06:24:32 +01:00 committed by GitHub
commit 27f44b31da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,6 +173,7 @@ namespace Dalamud.Plugin
if (pluginDef.DalamudApiLevel < DALAMUD_API_LEVEL) {
Log.Error("Incompatible API level: {0}", dllFile.FullName);
disabledFile.Create().Close();
return false;
}