mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Schematics: Prepend mod path to relative schematic filepaths
This commit is contained in:
@@ -35,11 +35,12 @@ class GUIEngine;
|
||||
|
||||
class ModApiBase {
|
||||
|
||||
protected:
|
||||
public:
|
||||
static ScriptApiBase* getScriptApiBase(lua_State *L);
|
||||
static Server* getServer(lua_State *L);
|
||||
static Environment* getEnv(lua_State *L);
|
||||
static GUIEngine* getGuiEngine(lua_State *L);
|
||||
static std::string getCurrentModPath(lua_State *L);
|
||||
|
||||
// Get an arbitrary subclass of ScriptApiBase
|
||||
// by using dynamic_cast<> on getScriptApiBase()
|
||||
|
Reference in New Issue
Block a user