mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-11 02:07:46 +00:00
refactor ability to action so it's consistent with the rest
This commit is contained in:
parent
6f64c6492d
commit
5f68dcdbd3
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