forked from Mirrorlandia_minetest/minetest
Remove unnecessary debug output
This commit is contained in:
parent
a6ca7eb29d
commit
582ca33507
@ -1297,7 +1297,6 @@ void Map::removeNodeAndUpdate(v3s16 p,
|
|||||||
|
|
||||||
bool Map::addNodeWithEvent(v3s16 p, MapNode n)
|
bool Map::addNodeWithEvent(v3s16 p, MapNode n)
|
||||||
{
|
{
|
||||||
ScopeProfiler sp(g_profiler, "Map::addNodeWithEvent", SPT_AVG);
|
|
||||||
MapEditEvent event;
|
MapEditEvent event;
|
||||||
event.type = MEET_ADDNODE;
|
event.type = MEET_ADDNODE;
|
||||||
event.p = p;
|
event.p = p;
|
||||||
|
@ -322,8 +322,8 @@ void * EmergeThread::Thread()
|
|||||||
TimeTaker timer("on_generated");
|
TimeTaker timer("on_generated");
|
||||||
scriptapi_environment_on_generated(m_server->m_lua,
|
scriptapi_environment_on_generated(m_server->m_lua,
|
||||||
minp, maxp, mapgen::get_blockseed(data.seed, minp));
|
minp, maxp, mapgen::get_blockseed(data.seed, minp));
|
||||||
int t = timer.stop(true);
|
/*int t = timer.stop(true);
|
||||||
dstream<<"on_generated took "<<t<<"ms"<<std::endl;
|
dstream<<"on_generated took "<<t<<"ms"<<std::endl;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
if(enable_mapgen_debug_info)
|
if(enable_mapgen_debug_info)
|
||||||
|
Loading…
Reference in New Issue
Block a user