summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockBigFlower.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2015-01-25 00:57:20 +0100
committerHowaner <franzi.moos@googlemail.com>2015-01-25 00:57:20 +0100
commit6678863f7f7c0fd29bc81e13144f0f054b0162eb (patch)
treea2ce3bb46e396f50f4742711864d9e0327df6457 /src/Blocks/BlockBigFlower.h
parentAdded sponge. (diff)
parentGamosocm support (diff)
downloadcuberite-6678863f7f7c0fd29bc81e13144f0f054b0162eb.tar
cuberite-6678863f7f7c0fd29bc81e13144f0f054b0162eb.tar.gz
cuberite-6678863f7f7c0fd29bc81e13144f0f054b0162eb.tar.bz2
cuberite-6678863f7f7c0fd29bc81e13144f0f054b0162eb.tar.lz
cuberite-6678863f7f7c0fd29bc81e13144f0f054b0162eb.tar.xz
cuberite-6678863f7f7c0fd29bc81e13144f0f054b0162eb.tar.zst
cuberite-6678863f7f7c0fd29bc81e13144f0f054b0162eb.zip
Diffstat (limited to 'src/Blocks/BlockBigFlower.h')
-rw-r--r--src/Blocks/BlockBigFlower.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Blocks/BlockBigFlower.h b/src/Blocks/BlockBigFlower.h
index 3577bdd40..5240ddf53 100644
--- a/src/Blocks/BlockBigFlower.h
+++ b/src/Blocks/BlockBigFlower.h
@@ -85,18 +85,6 @@ public:
}
- virtual void OnPlacedByPlayer(
- cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player,
- int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace,
- int a_CursorX, int a_CursorY, int a_CursorZ,
- BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta
- ) override
- {
- int Meta = (((int)floor(a_Player->GetYaw() * 4.0 / 360.0 + 0.5) & 0x3) + 2) % 4;
- a_ChunkInterface.FastSetBlock(a_BlockX, a_BlockY + 1, a_BlockZ, m_BlockType, 0x8 | Meta);
- }
-
-
virtual void OnDestroyed(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ) override
{
NIBBLETYPE OldMeta = a_ChunkInterface.GetBlockMeta(a_BlockX, a_BlockY, a_BlockZ);