mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook (#12316)
* feat(Core/Scripting): Implement OnAllowedForPlayerLootCheck() hook * reverse logic
This commit is contained in:
@@ -284,6 +284,8 @@ void Creature::AddToWorld()
|
||||
GetZoneScript()->OnCreatureCreate(this);
|
||||
}
|
||||
|
||||
loot.sourceWorldObjectGUID = GetGUID();
|
||||
|
||||
sScriptMgr->OnCreatureAddWorld(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user