fix(Scripts/Player): correct the parameter order in OnUpdateGatheringSkill (#16635)
This commit is contained in:
parent
1480eba9d4
commit
cfc15abb16
1 changed files with 1 additions and 1 deletions
|
|
@ -1009,7 +1009,7 @@ void ScriptMgr::OnGetMaxSkillValue(Player* player, uint32 skill, int32& result,
|
|||
void ScriptMgr::OnUpdateGatheringSkill(Player *player, uint32 skillId, uint32 currentLevel, uint32 gray, uint32 green, uint32 yellow, uint32 &gain) {
|
||||
ExecuteScript<PlayerScript>([&](PlayerScript* script)
|
||||
{
|
||||
script->OnUpdateGatheringSkill(player, skillId, gray, green, yellow, currentLevel, gain);
|
||||
script->OnUpdateGatheringSkill(player, skillId, currentLevel, gray, green, yellow, gain);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue