Skip to content

Commit

Permalink
Merge 12b84d6 into f83456f
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcarroll authored Aug 31, 2023
2 parents f83456f + 12b84d6 commit 4dbfdeb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,6 @@ Server::Server(const ServerConfig &_config)
return;
}

if (this->dataPtr->sdfRoot.WorldCount() == 0)
{
gzerr << "SDF file doesn't contain a world. " <<
"If you wish to spawn a model, use the ResourceSpawner GUI plugin " <<
"or the 'world/<world_name>/create' service.\n";
return;
}

// Add record plugin
if (_config.UseLogRecord())
{
Expand Down

0 comments on commit 4dbfdeb

Please sign in to comment.