summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-29 22:21:58 +0200
committerMattes D <github@xoft.cz>2014-08-29 22:21:58 +0200
commita2bee74a13989f725e8f8ca3ffe967e157f8d77f (patch)
treec3eb717d5b19867edbecf15d1d699bf292090608 /src
parentRewritten block entity loading. (diff)
downloadcuberite-a2bee74a13989f725e8f8ca3ffe967e157f8d77f.tar
cuberite-a2bee74a13989f725e8f8ca3ffe967e157f8d77f.tar.gz
cuberite-a2bee74a13989f725e8f8ca3ffe967e157f8d77f.tar.bz2
cuberite-a2bee74a13989f725e8f8ca3ffe967e157f8d77f.tar.lz
cuberite-a2bee74a13989f725e8f8ca3ffe967e157f8d77f.tar.xz
cuberite-a2bee74a13989f725e8f8ca3ffe967e157f8d77f.tar.zst
cuberite-a2bee74a13989f725e8f8ca3ffe967e157f8d77f.zip
Diffstat (limited to 'src')
-rw-r--r--src/Chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index e7aeff1a4..e5de22e3b 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -155,7 +155,7 @@ public:
void FastSetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, BLOCKTYPE a_BlockMeta, bool a_SendToClients = true); // Doesn't force block updates on neighbors, use for simple changes such as grass growing etc.
BLOCKTYPE GetBlock(int a_RelX, int a_RelY, int a_RelZ) const;
- BLOCKTYPE GetBlock(Vector3i a_RelCords) const { return GetBlock(a_RelCords.x, a_RelCords.y, a_RelCords.z);}
+ BLOCKTYPE GetBlock(const Vector3i & a_RelCoords) const { return GetBlock(a_RelCoords.x, a_RelCoords.y, a_RelCoords.z); }
void GetBlockTypeMeta(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_BlockMeta);
void GetBlockInfo (int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE & a_BlockType, NIBBLETYPE & a_Meta, NIBBLETYPE & a_SkyLight, NIBBLETYPE & a_BlockLight);