1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 08:27:46 +00:00

Update DebugCommandMgr.cpp

This commit is contained in:
JeidoUran 2019-01-04 13:30:14 +01:00 committed by GitHub
parent 3486c5d3ad
commit b99ad78223
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -429,10 +429,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;
}
return;
}
auto pBNpc = std::make_shared< Entity::BNpc >( bNpcTemplate,
player.getPos().x,
player.getPos().y,