summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 22:47:58 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 22:47:58 +0200
commitd95756c5ccedb9371685356ec0af1ff955b425c7 (patch)
tree40a2508d627089e7ad03c899f269a8faba86e40e /source/World.cpp
parentUpdated the stacking (Patch contributed by Stephen304) (diff)
downloadcuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.gz
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.bz2
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.lz
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.xz
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.tar.zst
cuberite-d95756c5ccedb9371685356ec0af1ff955b425c7.zip
Diffstat (limited to 'source/World.cpp')
-rw-r--r--source/World.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 398077c61..97b5a2b0e 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -689,6 +689,16 @@ void cWorld::WakeUpSimulators(int a_BlockX, int a_BlockY, int a_BlockZ)
+/// Wakes up the simulators for the specified area of blocks
+void cWorld::WakeUpSimulatorsInArea(int a_MinBlockX, int a_MaxBlockX, int a_MinBlockY, int a_MaxBlockY, int a_MinBlockZ, int a_MaxBlockZ)
+{
+ return m_ChunkMap->WakeUpSimulatorsInArea(a_MinBlockX, a_MaxBlockX, a_MinBlockY, a_MaxBlockY, a_MinBlockZ, a_MaxBlockZ);
+}
+
+
+
+
+
bool cWorld::ForEachChestInChunk(int a_ChunkX, int a_ChunkZ, cChestCallback & a_Callback)
{
return m_ChunkMap->ForEachChestInChunk(a_ChunkX, a_ChunkZ, a_Callback);