summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-22 16:00:19 +0100
committerMattes D <github@xoft.cz>2014-11-22 16:00:19 +0100
commitb520f336da734b5971d4003ae949ea78c3994a79 (patch)
tree9a82ffc6f30838e3b1ea4386554fa1438188e382 /src/World.h
parentMerge pull request #1594 from mc-server/LargeOakTree (diff)
downloadcuberite-b520f336da734b5971d4003ae949ea78c3994a79.tar
cuberite-b520f336da734b5971d4003ae949ea78c3994a79.tar.gz
cuberite-b520f336da734b5971d4003ae949ea78c3994a79.tar.bz2
cuberite-b520f336da734b5971d4003ae949ea78c3994a79.tar.lz
cuberite-b520f336da734b5971d4003ae949ea78c3994a79.tar.xz
cuberite-b520f336da734b5971d4003ae949ea78c3994a79.tar.zst
cuberite-b520f336da734b5971d4003ae949ea78c3994a79.zip
Diffstat (limited to '')
-rw-r--r--src/World.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index fe57b0789..68d0654ee 100644
--- a/src/World.h
+++ b/src/World.h
@@ -696,6 +696,8 @@ public:
inline size_t GetStorageLoadQueueLength(void) { return m_Storage.GetLoadQueueLength(); } // tolua_export
inline size_t GetStorageSaveQueueLength(void) { return m_Storage.GetSaveQueueLength(); } // tolua_export
+ cLightingThread & GetLightingThread(void) { return m_Lighting; }
+
void InitializeSpawn(void);
/** Starts threads that belong to this world */