diff --git a/nether/init.lua b/nether/init.lua index 7ef7417..decc285 100644 --- a/nether/init.lua +++ b/nether/init.lua @@ -970,6 +970,10 @@ local function grass_allowed(pos) return 0 end local data = minetest.registered_nodes[nd] + if not data then + -- unknown node + return false + end local drawtype = data.drawtype if drawtype and drawtype ~= "normal"