mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
MaNGOS changes
This commit is contained in:
@@ -254,7 +254,7 @@ namespace LuaGameObject
|
||||
#endif
|
||||
if (ownerGuid)
|
||||
{
|
||||
Unit* owner = ObjectAccessor::GetUnit(*go, ownerGuid);
|
||||
Unit* owner = eObjectAccessor()GetUnit(*go, ownerGuid);
|
||||
if (!owner || !ownerGuid.IsPlayer())
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user