mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
feat: implement dpi.IsDev
This commit is contained in:
parent
2d3e225e2c
commit
a7f9d43c80
3 changed files with 10 additions and 3 deletions
|
|
@ -288,7 +288,7 @@ namespace Dalamud.Plugin.Internal
|
|||
// Update the location for the Location and CodeBase patches
|
||||
PluginManager.PluginLocations[this.pluginType.Assembly.FullName] = new(this.DllFile);
|
||||
|
||||
this.DalamudInterface = new DalamudPluginInterface(this.pluginAssembly.GetName().Name!, reason);
|
||||
this.DalamudInterface = new DalamudPluginInterface(this.pluginAssembly.GetName().Name!, reason, this.IsDev);
|
||||
|
||||
var ioc = Service<ServiceContainer>.Get();
|
||||
this.instance = ioc.Create(this.pluginType, this.DalamudInterface) as IDalamudPlugin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue