Core/Spells: Add one more allowed case for CastSpellTargetArg constructor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c63d201900d80896d68da72f0bc7762a5df4c75)
This commit is contained in:
@@ -9013,8 +9013,11 @@ namespace Game.Spells
|
||||
Targets = new();
|
||||
Targets.SetGOTarget(goTarget);
|
||||
}
|
||||
// error when targeting anything other than units and gameobjects
|
||||
}
|
||||
}
|
||||
else
|
||||
Targets = new(); // nullptr is allowed
|
||||
}
|
||||
|
||||
public CastSpellTargetArg(Item itemTarget)
|
||||
|
||||
Reference in New Issue
Block a user