summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-13 11:02:28 +0200
committerMattes D <github@xoft.cz>2014-07-13 11:02:28 +0200
commit398cead1f34c2ea0003345d15c2610412f5c997b (patch)
tree3a9f3388b59661cbb7d6f2ddb86cd2a4db29b8c7 /src/ChunkMap.cpp
parentOnly one instance of server can be started (diff)
parentFixed wrong types. (BLOCKTYPE -> NIBBLETYPE) (diff)
downloadcuberite-398cead1f34c2ea0003345d15c2610412f5c997b.tar
cuberite-398cead1f34c2ea0003345d15c2610412f5c997b.tar.gz
cuberite-398cead1f34c2ea0003345d15c2610412f5c997b.tar.bz2
cuberite-398cead1f34c2ea0003345d15c2610412f5c997b.tar.lz
cuberite-398cead1f34c2ea0003345d15c2610412f5c997b.tar.xz
cuberite-398cead1f34c2ea0003345d15c2610412f5c997b.tar.zst
cuberite-398cead1f34c2ea0003345d15c2610412f5c997b.zip
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r--src/ChunkMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 35d55d396..4040fff9f 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -1278,7 +1278,7 @@ void cChunkMap::SetBlockMeta(int a_BlockX, int a_BlockY, int a_BlockZ, NIBBLETYP
-void cChunkMap::SetBlock(cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, bool a_SendToClients)
+void cChunkMap::SetBlock(cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, bool a_SendToClients)
{
cChunkInterface ChunkInterface(this);
if (a_BlockType == E_BLOCK_AIR)
@@ -1303,7 +1303,7 @@ void cChunkMap::SetBlock(cWorldInterface & a_WorldInterface, int a_BlockX, int a
-void cChunkMap::QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, Int64 a_Tick, BLOCKTYPE a_PreviousBlockType)
+void cChunkMap::QueueSetBlock(int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Int64 a_Tick, BLOCKTYPE a_PreviousBlockType)
{
int ChunkX, ChunkZ, X = a_BlockX, Y = a_BlockY, Z = a_BlockZ;
cChunkDef::AbsoluteToRelative(X, Y, Z, ChunkX, ChunkZ);