mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/PlayerScript) Align player script function names (#21020)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
@@ -1765,7 +1765,7 @@ void Spell::DoCreateItem(uint8 /*effIndex*/, uint32 itemId)
|
||||
// send info to the client
|
||||
player->SendNewItem(pItem, addNumber, true, SelfCast);
|
||||
|
||||
sScriptMgr->OnCreateItem(player, pItem, addNumber);
|
||||
sScriptMgr->OnPlayerCreateItem(player, pItem, addNumber);
|
||||
|
||||
// we succeeded in creating at least one item, so a levelup is possible
|
||||
if (SelfCast)
|
||||
|
||||
Reference in New Issue
Block a user