mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 12:43:49 +01:00
Print debug stacks to infostream rather than errorstream when placing CONTENT_IGNORE
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user