summaryrefslogtreecommitdiffstats
path: root/src/Chunk.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-05-10 16:19:06 +0200
committerTycho <work.tycho+git@gmail.com>2014-05-10 16:19:06 +0200
commitcb6200345cdfcf34ab4cd6b50cc268152324f9dd (patch)
tree04602fd3bd45e8dcd91dcd46263730659de7a27d /src/Chunk.cpp
parentquieted gcov 4 (diff)
downloadcuberite-cb6200345cdfcf34ab4cd6b50cc268152324f9dd.tar
cuberite-cb6200345cdfcf34ab4cd6b50cc268152324f9dd.tar.gz
cuberite-cb6200345cdfcf34ab4cd6b50cc268152324f9dd.tar.bz2
cuberite-cb6200345cdfcf34ab4cd6b50cc268152324f9dd.tar.lz
cuberite-cb6200345cdfcf34ab4cd6b50cc268152324f9dd.tar.xz
cuberite-cb6200345cdfcf34ab4cd6b50cc268152324f9dd.tar.zst
cuberite-cb6200345cdfcf34ab4cd6b50cc268152324f9dd.zip
Diffstat (limited to '')
-rw-r--r--src/Chunk.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp
index 0303e1502..a986ac076 100644
--- a/src/Chunk.cpp
+++ b/src/Chunk.cpp
@@ -1568,24 +1568,6 @@ void cChunk::FastSetBlock(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockT
-void cChunk::SetMeta(int a_BlockIdx, NIBBLETYPE a_Meta)
-{
- if (GetNibble(m_BlockMeta, a_BlockIdx) == a_Meta)
- {
- return;
- }
-
- MarkDirty();
- SetNibble(m_BlockMeta, a_BlockIdx, a_Meta);
- Vector3i Coords(IndexToCoordinate(a_BlockIdx));
-
- m_PendingSendBlocks.push_back(sSetBlock(m_PosX, m_PosZ, Coords.x, Coords.y, Coords.z, GetBlock(a_BlockIdx), a_Meta));
-}
-
-
-
-
-
void cChunk::SendBlockTo(int a_RelX, int a_RelY, int a_RelZ, cClientHandle * a_Client)
{