mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
refactor ability to action so it's consistent with the rest
This commit is contained in:
parent
77bf4662f6
commit
010d09239d
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ bool Core::Scripting::ScriptManager::onMobKill( Entity::Player& player, uint16_t
|
|||
|
||||
bool Core::Scripting::ScriptManager::onCastFinish( Entity::Player& player, Entity::ActorPtr pTarget, uint32_t actionId )
|
||||
{
|
||||
auto script = m_nativeScriptHandler->getAbilityScript( actionId );
|
||||
auto script = m_nativeScriptHandler->getActionScript( actionId );
|
||||
|
||||
if( script )
|
||||
script->onCastFinish( player, *pTarget );
|
||||
|
|
Loading…
Add table
Reference in a new issue