diff options
Diffstat (limited to 'src/scriptapi.h')
-rw-r--r-- | src/scriptapi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scriptapi.h b/src/scriptapi.h index aa2d9d4c7..f63cab368 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -75,7 +75,8 @@ bool scriptapi_node_on_dig(lua_State *L, v3s16 p, MapNode node, /* luaentity */ // Returns true if succesfully added into Lua; false otherwise. -bool scriptapi_luaentity_add(lua_State *L, u16 id, const char *name, +bool scriptapi_luaentity_add(lua_State *L, u16 id, const char *name); +void scriptapi_luaentity_activate(lua_State *L, u16 id, const std::string &staticdata); void scriptapi_luaentity_rm(lua_State *L, u16 id); std::string scriptapi_luaentity_get_staticdata(lua_State *L, u16 id); |