mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: ban ping plugin 1.11.0.0
This commit is contained in:
parent
b72e984e54
commit
681ba7f189
1 changed files with 5 additions and 0 deletions
|
|
@ -234,6 +234,11 @@ namespace Dalamud.Plugin
|
|||
DalamudApiLevel = DALAMUD_API_LEVEL
|
||||
};
|
||||
|
||||
if (pluginDef.InternalName == "PingPlugin" && pluginDef.AssemblyVersion == "1.11.0.0") {
|
||||
Log.Error("Banned PingPlugin");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (pluginDef.DalamudApiLevel < DALAMUD_API_LEVEL) {
|
||||
Log.Error("Incompatible API level: {0}", dllFile.FullName);
|
||||
disabledFile.Create().Close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue