mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 00:55:20 +02:00
Fix core.get_node_or_nil in emerge env
"ignore" does not mean unloaded, we have to properly check it.
This commit is contained in:
@@ -247,6 +247,9 @@ public:
|
||||
class ModApiEnvVM : public ModApiEnvBase {
|
||||
private:
|
||||
|
||||
// get_node_or_nil(pos)
|
||||
static int l_get_node_or_nil(lua_State *L);
|
||||
|
||||
// get_node_max_level(pos)
|
||||
static int l_get_node_max_level(lua_State *L);
|
||||
|
||||
|
Reference in New Issue
Block a user