1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-07 11:17:46 +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 f74c96a5d4
commit 71abe6b69e

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 );