]> git.lizzy.rs Git - minetest.git/commit
minetest.get_content_id: error if the node does not exist (#9458)
authorHybridDog <3192173+HybridDog@users.noreply.github.com>
Wed, 11 Mar 2020 15:25:14 +0000 (16:25 +0100)
committerGitHub <noreply@github.com>
Wed, 11 Mar 2020 15:25:14 +0000 (16:25 +0100)
commitfd4daefb29f2922937849a207812fe368260f43e
tree0d959c58ce85fa70a6b8e5567b41e56e646ae122
parentb42493fb4c40611020c9ded9b7af5b96dc4148bd
minetest.get_content_id: error if the node does not exist (#9458)

If a mod creator makes a typing mistake, this function now causes an error instead of returning the id of "ignore".
src/script/lua_api/l_item.cpp