mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: ban unsupported SonarPlugin
This commit is contained in:
parent
a777c58a89
commit
b2897315b4
1 changed files with 6 additions and 2 deletions
|
|
@ -239,12 +239,16 @@ namespace Dalamud.Plugin
|
|||
return false;
|
||||
}
|
||||
|
||||
if (pluginDef.InternalName == "FPSPlugin" && pluginDef.AssemblyVersion == "1.4.2.0")
|
||||
{
|
||||
if (pluginDef.InternalName == "FPSPlugin" && pluginDef.AssemblyVersion == "1.4.2.0") {
|
||||
Log.Error("Banned PingPlugin");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (pluginDef.InternalName == "SonarPlugin" && pluginDef.AssemblyVersion == "0.1.3.1") {
|
||||
Log.Error("Banned SonarPlugin");
|
||||
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