summaryrefslogtreecommitdiffstats
path: root/src/Root.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-11 17:02:45 +0100
committerMattes D <github@xoft.cz>2013-12-11 17:02:45 +0100
commit7035d31e9d8f4d25efc722cb3d2a49fb756249ee (patch)
tree75dd002246aa046a67c6675e9f3a4f93bb644e33 /src/Root.h
parentExpOrbs now move. (diff)
parentHOOK_WORLD_STARTED now gets called when the CreateAndInitializeWorld function is used. (diff)
downloadcuberite-7035d31e9d8f4d25efc722cb3d2a49fb756249ee.tar
cuberite-7035d31e9d8f4d25efc722cb3d2a49fb756249ee.tar.gz
cuberite-7035d31e9d8f4d25efc722cb3d2a49fb756249ee.tar.bz2
cuberite-7035d31e9d8f4d25efc722cb3d2a49fb756249ee.tar.lz
cuberite-7035d31e9d8f4d25efc722cb3d2a49fb756249ee.tar.xz
cuberite-7035d31e9d8f4d25efc722cb3d2a49fb756249ee.tar.zst
cuberite-7035d31e9d8f4d25efc722cb3d2a49fb756249ee.zip
Diffstat (limited to 'src/Root.h')
-rw-r--r--src/Root.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Root.h b/src/Root.h
index 4e38dd17f..c59afc810 100644
--- a/src/Root.h
+++ b/src/Root.h
@@ -42,6 +42,7 @@ public:
cServer * GetServer(void) { return m_Server; } // tolua_export
cWorld * GetDefaultWorld(void); // tolua_export
cWorld * GetWorld(const AString & a_WorldName); // tolua_export
+ cWorld * CreateAndInitializeWorld(const AString & a_WorldName); // tolua_export
/// Calls the callback for each world; returns true if the callback didn't abort (return true)
bool ForEachWorld(cWorldListCallback & a_Callback); // >> Exported in ManualBindings <<