summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-06 18:58:31 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-06 18:58:31 +0200
commit4c370798d52b1b7c055c49ff4a38f73cf720c82e (patch)
treecb9c7233b4b55d8e6cb1fab410b81ea16f89d353 /source/World.cpp
parentLua plugins can get player's equipped item (diff)
downloadcuberite-4c370798d52b1b7c055c49ff4a38f73cf720c82e.tar
cuberite-4c370798d52b1b7c055c49ff4a38f73cf720c82e.tar.gz
cuberite-4c370798d52b1b7c055c49ff4a38f73cf720c82e.tar.bz2
cuberite-4c370798d52b1b7c055c49ff4a38f73cf720c82e.tar.lz
cuberite-4c370798d52b1b7c055c49ff4a38f73cf720c82e.tar.xz
cuberite-4c370798d52b1b7c055c49ff4a38f73cf720c82e.tar.zst
cuberite-4c370798d52b1b7c055c49ff4a38f73cf720c82e.zip
Diffstat (limited to '')
-rw-r--r--source/World.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 7acbf8a39..961d99d7c 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -1135,6 +1135,15 @@ void cWorld::GetBlockTypeMeta(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYP
+bool cWorld::WriteBlockArea(cBlockArea & a_Area, int a_MinBlockX, int a_MinBlockY, int a_MinBlockZ, int a_DataTypes)
+{
+ return m_ChunkMap->WriteBlockArea(a_Area, a_MinBlockX, a_MinBlockY, a_MinBlockZ, a_DataTypes);
+}
+
+
+
+
+
void cWorld::SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_FlyAwaySpeed)
{
MTRand r1;