Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE

master
Perttu Ahola 2011-11-29 21:05:36 +02:00
parent 6d23fb2592
commit cd030639a4
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ void Map::setNode(v3s16 p, MapNode & n)
<<" while trying to replace \""
<<m_gamedef->ndef()->get(block->getNodeNoCheck(relpos)).name
<<"\" at "<<PP(p)<<" (block "<<PP(blockpos)<<")"<<std::endl;
debug_stacks_print_to(errorstream);
debug_stacks_print_to(infostream);
return;
}
block->setNodeNoCheck(relpos, n);