aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index e2eae68c984..c64327ab7cc 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -3382,8 +3382,10 @@ class spell_gen_spirit_healer_res : public SpellScript
Player* originalCaster = GetOriginalCaster()->ToPlayer();
if (Unit* target = GetHitUnit())
{
- WorldPackets::NPC::SpiritHealerConfirm spiritHealerConfirm;
- spiritHealerConfirm.Unit = target->GetGUID();
+ WorldPackets::NPC::NPCInteractionOpenResult spiritHealerConfirm;
+ spiritHealerConfirm.Npc = target->GetGUID();
+ spiritHealerConfirm.InteractionType = PlayerInteractionType::SpiritHealer;
+ spiritHealerConfirm.Success = true;
originalCaster->SendDirectMessage(spiritHealerConfirm.Write());
}
}