paramat wrote:There's a new bug that was posted as an engine issue on Github https://github.com/minetest/minetest/issues/2672
The latest commit by melzua is wrong, 'get2D()' doesn't have the form '{x = ..., y = ...}':Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
if perlin1:get2d({x, y}) <= 0.53 then
2D noise always uses abstract variables x and y, these then represent world position x and z.
it should be fixed now
Ivà wrote "Changing the get_snow function code as below solves the crash", so l didn't look for such a mistake.
paramat wrote:You left x and z undefined when calculating noise3
l changed z to y when l did this commit https://github.com/Splizard/minetest-mo ... 65c046f500
and x and y are defined
Edit:l just tested falling snow and it worked for me.