aboutsummaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-04-01 10:08:52 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-04-01 12:38:14 +0300
commit56ba193c77109687b9115be0ccb1730922caef65 (patch)
tree02532fd24d82c80c61c2e5fc689656c4b5cca9b9 /src/server.h
parentd5594e431c841bf6a4c97bac946ef188404df129 (diff)
downloadminetest-56ba193c77109687b9115be0ccb1730922caef65.tar.gz
minetest-56ba193c77109687b9115be0ccb1730922caef65.tar.bz2
minetest-56ba193c77109687b9115be0ccb1730922caef65.zip
Allow getting the path of builtin.lua using minetest.get_modpath("__builtin")
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h
index abe466b16..9cbefa644 100644
--- a/src/server.h
+++ b/src/server.h
@@ -553,6 +553,7 @@ public:
IWritableCraftDefManager* getWritableCraftDefManager();
const ModSpec* getModSpec(const std::string &modname);
+ std::string getBuiltinLuaPath();
std::string getWorldPath(){ return m_path_world; }