minetest/src/script/common
HybridDog 431d8a9b83 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
2019-03-07 08:31:25 +01:00
..
CMakeLists.txt Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
c_content.cpp Abort when trying to set a not registered node (#7011) 2019-03-07 08:31:25 +01:00
c_content.h Raycast: export exact pointing location (#6304) 2018-08-16 20:10:08 +02:00
c_converter.cpp Lua templating reading (part 4): s16, v2s16, v2f (#7512) 2018-07-08 23:06:33 +02:00
c_converter.h Lua templating reading (part 4): s16, v2s16, v2f (#7512) 2018-07-08 23:06:33 +02:00
c_internal.cpp Clean up stack after script_get_backtrace (#7854) 2018-11-28 20:01:01 +01:00
c_internal.h Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
c_types.cpp Remove lua_State parameter from LuaError::LuaError 2014-03-15 16:28:59 -04:00
c_types.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
helper.cpp Lua templating reading (part 4): s16, v2s16, v2f (#7512) 2018-07-08 23:06:33 +02:00
helper.h Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00