Skip to content

Instantly share code, notes, and snippets.

@juhdanad
Created April 30, 2017 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juhdanad/33d7409b05af53d24fb28283b5cef34f to your computer and use it in GitHub Desktop.
Save juhdanad/33d7409b05af53d24fb28283b5cef34f to your computer and use it in GitHub Desktop.
warningstream << "ServerEnv: Trying to store id = " << obj->getId()
<< " statically but block " << PP(blockpos)
<< " already contains "
<< block->m_static_objects.m_stored.size()
<< " objects."
<< " Forcing delete." << std::endl;
warningstream << "Already stored data:" << std::endl;
for (std::vector<StaticObject>::iterator it =
block->m_static_objects.m_stored.begin();
it != block->m_static_objects.m_stored.end(); ++it)
warningstream << it->data << std::endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment