1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00

what are if statements, how do they work

This commit is contained in:
Adam 2018-03-13 21:59:52 +11:00
parent 3baa7efa30
commit 22faac5d06

View file

@ -709,7 +709,7 @@ void Core::DebugCommandHandler::instance( char* data, Entity::Player &player, bo
else
player.sendDebug( "Failed to create instance with id: " + std::to_string( instanceContentId ) );
}
if( subCommand == "createzone" || subCommand == "crz" )
else if( subCommand == "createzone" || subCommand == "crz" )
{
uint32_t zoneId;
sscanf( params.c_str(), "%d", &zoneId );