mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Add blockseed to on_generated
This commit is contained in:
@@ -283,7 +283,7 @@ void * EmergeThread::Thread()
|
||||
v3s16 minp = block->getPos()*MAP_BLOCKSIZE;
|
||||
v3s16 maxp = minp + v3s16(1,1,1)*(MAP_BLOCKSIZE-1);
|
||||
scriptapi_environment_on_generated(m_server->m_lua,
|
||||
minp, maxp);
|
||||
minp, maxp, mapgen::get_blockseed(data.seed, minp));
|
||||
|
||||
if(enable_mapgen_debug_info)
|
||||
infostream<<"EmergeThread: ended up with: "
|
||||
|
Reference in New Issue
Block a user