From 93e4bc226864fcfcbcd1a5474f3ce461ec8097c5 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sat, 5 Aug 2023 22:47:15 -0400 Subject: [PATCH] fix nil node definition in minenux version --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 100927e..6ee863f 100644 --- a/api.lua +++ b/api.lua @@ -2355,7 +2355,7 @@ function mob_class:do_states(dtime) lp = minetest.find_nodes_in_area_under_air( {x = s.x - 5, y = s.y , z = s.z - 5}, {x = s.x + 5, y = s.y + 2, z = s.z + 5}, - {"group:cracky", "group:crumbly", "group:choppy", "group:solid", "group:stone", "group:sand", node_ice, node_snowblock}) + {"group:cracky", "group:crumbly", "group:choppy", "group:solid", "group:stone", "group:sand", mobs.node_ice, mobs.node_snow}) -- did we find land? if lp and #lp > 0 then