1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-05 17:05:05 -05:00

Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE

This commit is contained in:
Perttu Ahola 2011-11-29 21:05:36 +02:00
parent 6d23fb2592
commit cd030639a4

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