mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 23:27:45 +00:00
Fix OutsideRange event.
This commit is contained in:
parent
abb295d4fe
commit
616b12c695
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ void Sapphire::Network::GameConnection::eventHandlerOutsideRange( const Packets:
|
|||
std::string objName = eventMgr.getEventName( eventId );
|
||||
player.sendDebug( "Calling: {0}.{1} - {2} p1: {3}", objName, eventName, eventId, param1 );
|
||||
|
||||
player.eventStart( player.getId(), eventId, Event::EventHandler::WithinRange, 1, param1 );
|
||||
player.eventStart( player.getId(), eventId, Event::EventHandler::OutsideRange, 1, param1 );
|
||||
|
||||
scriptMgr.onOutsideRange( player, eventId, param1, pos.x, pos.y, pos.z );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue