mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Added lua tracebacks to some errors where you have been blind to what… (#5043)
* Added lua tracebacks to some errors where you have been blind to what actually went wrong
This commit is contained in:
@@ -564,7 +564,7 @@ MapBlock *EmergeThread::finishGen(v3s16 pos, BlockMakeData *bmdata,
|
||||
m_server->getScriptIface()->environment_OnGenerated(
|
||||
minp, maxp, m_mapgen->blockseed);
|
||||
} catch (LuaError &e) {
|
||||
m_server->setAsyncFatalError("Lua: " + std::string(e.what()));
|
||||
m_server->setAsyncFatalError("Lua: finishGen" + std::string(e.what()));
|
||||
}
|
||||
|
||||
EMERGE_DBG_OUT("ended up with: " << analyze_block(block));
|
||||
|
Reference in New Issue
Block a user