betterfall lost fix re-applied
This commit is contained in:
parent
2a65c834f1
commit
173a344fa9
@ -60,7 +60,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
local node_entry = betterfall.falling_queue.dequeue()
|
local node_entry = betterfall.falling_queue.dequeue()
|
||||||
|
|
||||||
if node_entry then
|
if node_entry then
|
||||||
if node_entry.node.name ~= "air" then
|
if node_entry.node.name ~= "air" and minetest.get_node(node_entry.pos).name == node_entry.node.name then
|
||||||
result = betterfall.should_node_fall(node_entry.node, node_entry.pos)
|
result = betterfall.should_node_fall(node_entry.node, node_entry.pos)
|
||||||
|
|
||||||
node_entry.meta:set_int("falling", 0)
|
node_entry.meta:set_int("falling", 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user