mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Disable plugins with incompatible API level
This commit is contained in:
parent
ceb0456264
commit
61e0c059fd
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue