1
0
Fork 0
This commit is contained in:
Lizzy Fleckenstein 2021-02-22 10:41:47 +01:00
commit a86d3fa22c
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ local is_node_dangerous = function(self, nodename)
return true return true
end end
end end
if minetest.registered_nodes[nn].damage_per_second and minetest.registered_nodes[nn].damage_per_second > 0 then if minetest.registered_nodes[nn] and minetest.registered_nodes[nn].damage_per_second and minetest.registered_nodes[nn].damage_per_second > 0 then
return true return true
end end
return false return false