fix(Core/PlayerScript) Align player script function names (#21020)

Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
Exitare
2025-02-16 05:59:41 -08:00
committed by GitHub
parent df7c23d763
commit 98ceb1c067
45 changed files with 749 additions and 749 deletions

View File

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