1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Rollback fixes and get_node_actions

This commit is contained in:
ShadowNinja 2013-11-12 16:13:00 -05:00
parent 1fd9a11e30
commit 7433d65d3e
8 changed files with 618 additions and 568 deletions

View file

@ -46,3 +46,8 @@ setmetatable(minetest.env, {
return rawget(table, key)
end
})
function minetest.rollback_get_last_node_actor(pos, range, seconds)
return minetest.rollback_get_node_actions(pos, range, seconds, 1)[1]
end