mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
fix: use correct InternalName for IPC SendMessage
This commit is contained in:
parent
dc8715a485
commit
0288db5220
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ namespace Dalamud.Plugin
|
||||||
/// <returns>True if the corresponding plugin was present and received the message.</returns>
|
/// <returns>True if the corresponding plugin was present and received the message.</returns>
|
||||||
public bool SendMessage(string pluginName, ExpandoObject message)
|
public bool SendMessage(string pluginName, ExpandoObject message)
|
||||||
{
|
{
|
||||||
var (_, _, pluginInterface, _) = this.dalamud.PluginManager.Plugins.FirstOrDefault(x => x.Definition.InternalName == this.pluginName);
|
var (_, _, pluginInterface, _) = this.dalamud.PluginManager.Plugins.FirstOrDefault(x => x.Definition.InternalName == pluginName);
|
||||||
|
|
||||||
if (pluginInterface?.anyPluginIpcAction == null)
|
if (pluginInterface?.anyPluginIpcAction == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue