mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-17 22:24:16 +01:00
Merge pull request #213 from Aireil/disable_plugins_api_level
Disable plugins with incompatible API level
This commit is contained in:
commit
27f44b31da
1 changed files with 1 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ namespace Dalamud.Plugin
|
||||||
|
|
||||||
if (pluginDef.DalamudApiLevel < DALAMUD_API_LEVEL) {
|
if (pluginDef.DalamudApiLevel < DALAMUD_API_LEVEL) {
|
||||||
Log.Error("Incompatible API level: {0}", dllFile.FullName);
|
Log.Error("Incompatible API level: {0}", dllFile.FullName);
|
||||||
|
disabledFile.Create().Close();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue