mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
cleanup onBnpcKill debug message
This commit is contained in:
parent
cde7678cc0
commit
de11c69904
1 changed files with 1 additions and 3 deletions
|
@ -276,8 +276,6 @@ bool Sapphire::Scripting::ScriptMgr::onBNpcKill( Entity::Player& player, uint16_
|
|||
{
|
||||
auto pEventMgr = framework()->get< World::Manager::EventMgr >();
|
||||
|
||||
std::string eventName = "onBnpcKill_" + std::to_string( nameId );
|
||||
|
||||
// loop through all active quests and try to call available onBNpcKill callbacks
|
||||
for( size_t i = 0; i < 30; i++ )
|
||||
{
|
||||
|
@ -292,7 +290,7 @@ bool Sapphire::Scripting::ScriptMgr::onBNpcKill( Entity::Player& player, uint16_
|
|||
{
|
||||
std::string objName = pEventMgr->getEventName( questId );
|
||||
|
||||
player.sendDebug( "Calling: {0}.{1}", objName, eventName );
|
||||
player.sendDebug( "Calling: {0}.onBnpcKill nameId#{1}", objName, nameId );
|
||||
|
||||
script->onBNpcKill( nameId, player );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue