summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorMatthew I <matttpt@gmail.com>2012-07-30 09:45:26 -0400
committerPerttu Ahola <celeron55@gmail.com>2012-08-12 16:04:18 +0300
commit1ed559bd2418dc34689160df09af8f779300ee9f (patch)
tree35ba0943ed8c1fe5aafd5c27c760b7c30bb65393 /doc/lua_api.txt
parente3b831e97505a6bd6a07813b2a0b8608637a3cd9 (diff)
downloadminetest-1ed559bd2418dc34689160df09af8f779300ee9f.tar.gz
minetest-1ed559bd2418dc34689160df09af8f779300ee9f.tar.bz2
minetest-1ed559bd2418dc34689160df09af8f779300ee9f.zip
Allow digging of unknown nodes
This allows the removal of nodes with unknown types. get_item_callback() (C++) would fail if a node has an unknown type. Now it will try using the callback from minetest.nodedef_default in this case. Also, minetest.node_dig() (Lua) was altered to always allow digging when the node definition is empty (i.e. unknown node).
Diffstat (limited to 'doc/lua_api.txt')
0 files changed, 0 insertions, 0 deletions