diff options
author | ShadowNinja <shadowninja@minetest.net> | 2013-11-12 16:13:00 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2013-11-27 18:13:06 -0500 |
commit | 7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0 (patch) | |
tree | 61b6fa4fcd8b5b00b84e5464afde07d122d4f7ca /doc | |
parent | 1fd9a11e302566d207c046bd5145e4e05a3c58ea (diff) | |
download | minetest-7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0.tar.gz minetest-7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0.tar.bz2 minetest-7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0.zip |
Rollback fixes and get_node_actions
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index d0090a89c..cd9e27b7a 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1402,8 +1402,8 @@ minetest.handle_node_drops(pos, drops, digger) ^ Can be overridden to get different functionality (eg. dropping items on ground) -Rollbacks: -minetest.rollback_get_last_node_actor(p, range, seconds) -> actor, p, seconds +Rollback: +minetest.rollback_get_node_actions(pos, range, seconds, limit) -> {{actor, pos, time, oldnode, newnode}, ...} ^ Find who has done something to a node, or near a node ^ actor: "player:<name>", also "liquid". minetest.rollback_revert_actions_by(actor, seconds) -> bool, log messages |