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:
parent
1fd9a11e30
commit
7433d65d3e
8 changed files with 618 additions and 568 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue