mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Actually fix weather
The real problem was that MapBlocks were not activated before getting sent to the client
This commit is contained in:
parent
90e7832408
commit
e396fb2984
6 changed files with 44 additions and 40 deletions
|
@ -403,6 +403,9 @@ public:
|
|||
|
||||
*/
|
||||
MapBlock * emergeBlock(v3s16 p, bool create_blank=true);
|
||||
|
||||
// Carries out any initialization necessary before block is sent
|
||||
void prepareBlock(MapBlock *block);
|
||||
|
||||
// Helper for placing objects on ground level
|
||||
s16 findGroundLevel(v2s16 p2d);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue