fix: make murderer work again
This commit is contained in:
parent
1adda77e22
commit
97f39a3711
|
@ -44,10 +44,10 @@ namespace HUD_Manager {
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the list of plugins
|
// get the list of plugins
|
||||||
var pluginsField = manager.GetType().GetField("Plugins", BindingFlags.Instance | BindingFlags.Public);
|
var pluginsField = manager.GetType().GetProperty("Plugins", BindingFlags.Instance | BindingFlags.Public);
|
||||||
var plugins = (List<(IDalamudPlugin plugin, PluginDefinition def, DalamudPluginInterface PluginInterface, bool IsRaw)>?) pluginsField?.GetValue(manager);
|
var plugins = (List<(IDalamudPlugin plugin, PluginDefinition def, DalamudPluginInterface PluginInterface, bool IsRaw)>?) pluginsField?.GetValue(manager);
|
||||||
if (plugins == null) {
|
if (plugins == null) {
|
||||||
PluginLog.LogWarning("Could not kill HudSwap since Plugins field was null");
|
PluginLog.LogWarning("Could not kill HudSwap since Plugins property was null");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue