mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
what are if statements, how do they work
This commit is contained in:
parent
3baa7efa30
commit
22faac5d06
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ void Core::DebugCommandHandler::instance( char* data, Entity::Player &player, bo
|
||||||
else
|
else
|
||||||
player.sendDebug( "Failed to create instance with id: " + std::to_string( instanceContentId ) );
|
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;
|
uint32_t zoneId;
|
||||||
sscanf( params.c_str(), "%d", &zoneId );
|
sscanf( params.c_str(), "%d", &zoneId );
|
||||||
|
|
Loading…
Add table
Reference in a new issue