Core/Spells: Removed CastSpellExtraArgs constructors accepting ObjectGuid, they would become ambiguous with future changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/3af9be830d736506ed4544a922699ed0f7a7ecd4)
This commit is contained in:
@@ -727,7 +727,8 @@ namespace Game.Entities
|
||||
else if (target)
|
||||
{
|
||||
// Some traps do not have a spell but should be triggered
|
||||
CastSpellExtraArgs args = new(GetOwnerGUID());
|
||||
CastSpellExtraArgs args = new();
|
||||
args.SetOriginalCaster(GetOwnerGUID());
|
||||
if (goInfo.Trap.spell != 0)
|
||||
CastSpell(target, goInfo.Trap.spell, args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user