summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-18 20:00:50 +0200
committermadmaxoft <github@xoft.cz>2013-08-18 20:00:50 +0200
commit861d5c75c968ab1fa5fbb3388b02ebd2e85afc56 (patch)
tree4d5cf06aac0a07418fbb0e85f781558810690cba /source/World.cpp
parentFixed piston code griefing damage. (diff)
downloadcuberite-861d5c75c968ab1fa5fbb3388b02ebd2e85afc56.tar
cuberite-861d5c75c968ab1fa5fbb3388b02ebd2e85afc56.tar.gz
cuberite-861d5c75c968ab1fa5fbb3388b02ebd2e85afc56.tar.bz2
cuberite-861d5c75c968ab1fa5fbb3388b02ebd2e85afc56.tar.lz
cuberite-861d5c75c968ab1fa5fbb3388b02ebd2e85afc56.tar.xz
cuberite-861d5c75c968ab1fa5fbb3388b02ebd2e85afc56.tar.zst
cuberite-861d5c75c968ab1fa5fbb3388b02ebd2e85afc56.zip
Diffstat (limited to '')
-rw-r--r--source/World.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 97186fa24..e63e45498 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -1385,21 +1385,6 @@ void cWorld::FastSetBlock(int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, NIBB
-void cWorld::SetServerBlock(int a_X, int a_Y, int a_Z, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta)
-{
- if (a_BlockType == E_BLOCK_AIR)
- {
- BlockHandler(GetBlock(a_X, a_Y, a_Z))->OnDestroyed(this, a_X, a_Y, a_Z);
- }
- m_ChunkMap->SetServerBlock(a_X, a_Y, a_Z, a_BlockType, a_BlockMeta);
-
- BlockHandler(a_BlockType)->OnPlaced(this, a_X, a_Y, a_Z, a_BlockType, a_BlockMeta);
-}
-
-
-
-
-
BLOCKTYPE cWorld::GetBlock(int a_X, int a_Y, int a_Z)
{
// First check if it isn't queued in the m_FastSetBlockQueue: