mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 20:32:21 +01:00
Core/Objects: Added ToWorldObject and ToItem
(cherry picked from commit 6f6af6a1a1)
This commit is contained in:
@@ -956,7 +956,7 @@ public:
|
||||
|
||||
void IsSummonedBy(WorldObject* summoner) override
|
||||
{
|
||||
if (summoner->isType(TYPEMASK_PLAYER))
|
||||
if (summoner->IsPlayer())
|
||||
playerGuid = summoner->GetGUID();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user