mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings
This commit is contained in:
parent
000da6b25d
commit
22dbbf0a6f
5 changed files with 55 additions and 40 deletions
|
@ -428,7 +428,7 @@ public:
|
|||
void prepareBlock(MapBlock *block);
|
||||
|
||||
// Helper for placing objects on ground level
|
||||
s16 findGroundLevel(v2s16 p2d);
|
||||
s16 findGroundLevel(v2s16 p2d, bool cacheBlocks);
|
||||
|
||||
/*
|
||||
Misc. helper functions for fiddling with directory and file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue