mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add blockseed to on_generated
This commit is contained in:
parent
81b9cfdfa4
commit
9a1df7bf38
6 changed files with 25 additions and 7 deletions
|
@ -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: "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue