1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 09:25:37 +02:00

Fix blockseed for on_generated in mapgen env

This commit is contained in:
sfan5
2024-07-22 16:31:46 +02:00
committed by GitHub
parent a7a719261e
commit 02f40e5b0d
5 changed files with 8 additions and 5 deletions

View File

@@ -692,7 +692,7 @@ void *EmergeThread::run()
"EmergeThread: Lua on_generated", SPT_AVG);
try {
m_script->on_generated(&bmdata);
m_script->on_generated(&bmdata, m_mapgen->blockseed);
} catch (const LuaError &e) {
m_server->setAsyncFatalError(e);
error = true;