mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
fix: null fix and fix for dev plugins
This commit is contained in:
parent
feebb03f8c
commit
87b834abd7
1 changed files with 4 additions and 2 deletions
|
|
@ -116,12 +116,14 @@ namespace Dalamud.Plugin
|
|||
|
||||
// Preloaded
|
||||
if (preloaded) {
|
||||
if (preloadedDef == null)
|
||||
if (preloadedDef == null && !raw)
|
||||
{
|
||||
Log.Information("Plugin DLL {0} has no definition.", dllFile.FullName);
|
||||
return false;
|
||||
}
|
||||
if (preloadedDef.ApplicableVersion != this.dalamud.StartInfo.GameVersion && preloadedDef.ApplicableVersion != "any")
|
||||
if (preloadedDef != null &&
|
||||
preloadedDef.ApplicableVersion != this.dalamud.StartInfo.GameVersion &&
|
||||
preloadedDef.ApplicableVersion != "any")
|
||||
{
|
||||
Log.Information("Plugin {0} has not applicable version.", dllFile.FullName);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue