fix default node choice to use original content *or* air if nil.

This commit is contained in:
MisterE123 2023-01-22 13:56:14 -05:00
parent db274ec3f0
commit 3e890d901a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ local c_air = minetest.get_content_id("air")
-- override this function
function luamap.logic(noise_vals,x,y,z,seed,original_content)
return c_air
return original_content or c_air
end
-- override this function