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)
|
||||
{
|
||||
ScopeProfiler sp(g_profiler, "Map::addNodeWithEvent", SPT_AVG);
|
||||
MapEditEvent event;
|
||||
event.type = MEET_ADDNODE;
|
||||
event.p = p;
|
||||
|
|
|
@ -322,8 +322,8 @@ void * EmergeThread::Thread()
|
|||
TimeTaker timer("on_generated");
|
||||
scriptapi_environment_on_generated(m_server->m_lua,
|
||||
minp, maxp, mapgen::get_blockseed(data.seed, minp));
|
||||
int t = timer.stop(true);
|
||||
dstream<<"on_generated took "<<t<<"ms"<<std::endl;
|
||||
/*int t = timer.stop(true);
|
||||
dstream<<"on_generated took "<<t<<"ms"<<std::endl;*/
|
||||
}
|
||||
|
||||
if(enable_mapgen_debug_info)
|
||||
|
|
Loading…
Reference in New Issue