1
0
Fork 0

Fix crash when standing on unknown node

objects
Wuzzy 2020-05-08 17:23:39 +02:00
parent 8c20dfa5d2
commit 94c4256451
1 changed files with 3 additions and 0 deletions

View File

@ -28,6 +28,9 @@ minetest.register_globalstep(function(dtime)
if not node_stand or not node_stand_below or not node_head or not node_feet then
return
end
if not minetest.registered_nodes[node_stand] or not minetest.registered_node[node_stand_below] or not minetest.registered_nodes[node_head] or not minetest.registered_nodes[node_feet] then
return
end
-- Cause buggy exhaustion for jumping