1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-03 17:27:47 +00:00

Merge branch 'develop' of https://github.com/SapphireMordred/Sapphire into develop

This commit is contained in:
mordred 2019-01-04 14:29:43 +01:00
commit fd1341a887

View file

@ -428,8 +428,10 @@ void Sapphire::World::Manager::DebugCommandMgr::add( char* data, Entity::Player&
auto bNpcTemplate = serverZone->getBNpcTemplate( params );
if( !bNpcTemplate )
{
player.sendNotice( "Template " + params + " not found in cache!" );
return;
}
auto pBNpc = std::make_shared< Entity::BNpc >( bNpcTemplate,
player.getPos().x,
player.getPos().y,
@ -1041,4 +1043,4 @@ void Sapphire::World::Manager::DebugCommandMgr::housing( char* data, Entity::Pla
{
player.sendDebug( "Unknown sub command." );
}
}
}