diff options
author | HybridDog <ovvv@web.de> | 2019-03-07 08:31:25 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2019-03-07 08:31:25 +0100 |
commit | 431d8a9b83be858193328fe59e75026fa023393f (patch) | |
tree | b5773cb8dd581f4e65ff4977e148483b23ad4d0b /doc/menu_lua_api.txt | |
parent | 3066d76e33070f0ec598b522b519fd6c1ddaf10e (diff) | |
download | minetest-431d8a9b83be858193328fe59e75026fa023393f.tar.gz minetest-431d8a9b83be858193328fe59e75026fa023393f.tar.bz2 minetest-431d8a9b83be858193328fe59e75026fa023393f.zip |
Abort when trying to set a not registered node (#7011)
I removed the MapNode constructor which takes a nodename and gives the node's id or CONTENT_IGNORE
The code which used this constructor (two places) now handles the situation of not registered nodes correctly:
* minetest.set_node and similar functions make minetest crash when a not registered node is passed
* reverting a node with rollback aborts if the node is not registered
Diffstat (limited to 'doc/menu_lua_api.txt')
0 files changed, 0 insertions, 0 deletions