Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE
This commit is contained in:
parent
6d23fb2592
commit
cd030639a4
|
@ -214,7 +214,7 @@ void Map::setNode(v3s16 p, MapNode & n)
|
||||||
<<" while trying to replace \""
|
<<" while trying to replace \""
|
||||||
<<m_gamedef->ndef()->get(block->getNodeNoCheck(relpos)).name
|
<<m_gamedef->ndef()->get(block->getNodeNoCheck(relpos)).name
|
||||||
<<"\" at "<<PP(p)<<" (block "<<PP(blockpos)<<")"<<std::endl;
|
<<"\" at "<<PP(p)<<" (block "<<PP(blockpos)<<")"<<std::endl;
|
||||||
debug_stacks_print_to(errorstream);
|
debug_stacks_print_to(infostream);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
block->setNodeNoCheck(relpos, n);
|
block->setNodeNoCheck(relpos, n);
|
||||||
|
|
Loading…
Reference in New Issue