External Publication
Visit Post

Modding Discussion • Re: Check for air not working as expected

Luanti Forums - Index page [Unofficial] February 9, 2026
Source

The flora test is not the issue here. And in my case, I want it to continue if it is part of the flora group.

I changed the air test to:

Code:

if core.registered_nodes[above_node_name].drawtype ~= "airlike" then

And I'm still getting inconsistent results. In my debug print statements that I have in my private testing version, I see two nodes both fail the check for being airlike, but even though they're both mese post lights, one is then replaced by a sapling but the other is not.

Statistics: Posted by karlexceed — Mon Feb 09, 2026 08:17


Discussion in the ATmosphere

Loading comments...