MaNGOS changes

This commit is contained in:
H0zen
2017-11-10 22:41:38 +02:00
parent e2054785d0
commit 7cc2b1306e
3 changed files with 25 additions and 11 deletions

View File

@@ -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;