mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
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 \""
|
||||
<<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);
|
||||
|
Loading…
Reference in New Issue
Block a user