summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockSapling.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-13 21:17:39 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-13 21:17:39 +0200
commit1cbb38fb028dd0dd6f515b22a40f2fd813f63432 (patch)
treef9171a8f9bd81ee8529763df54e1c562ce6d264f /source/Blocks/BlockSapling.h
parentImplemented SteerVehicle packet. (diff)
downloadcuberite-1cbb38fb028dd0dd6f515b22a40f2fd813f63432.tar
cuberite-1cbb38fb028dd0dd6f515b22a40f2fd813f63432.tar.gz
cuberite-1cbb38fb028dd0dd6f515b22a40f2fd813f63432.tar.bz2
cuberite-1cbb38fb028dd0dd6f515b22a40f2fd813f63432.tar.lz
cuberite-1cbb38fb028dd0dd6f515b22a40f2fd813f63432.tar.xz
cuberite-1cbb38fb028dd0dd6f515b22a40f2fd813f63432.tar.zst
cuberite-1cbb38fb028dd0dd6f515b22a40f2fd813f63432.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockSapling.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/source/Blocks/BlockSapling.h b/source/Blocks/BlockSapling.h
index 17ef4984f..fff2fa88b 100644
--- a/source/Blocks/BlockSapling.h
+++ b/source/Blocks/BlockSapling.h
@@ -29,12 +29,6 @@ public:
{
return (a_RelY > 0) && IsBlockTypeOfDirt(a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ));
}
-
-
- virtual bool DoesAllowBlockOnTop(void) override
- {
- return false;
- }
void OnUpdate(cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ) override
@@ -50,12 +44,6 @@ public:
a_World->SetBlockMeta(a_BlockX, a_BlockY, a_BlockZ, Meta | 0x08);
}
}
-
-
- virtual bool CanBePlacedOnSide() override
- {
- return false;
- }
virtual const char * GetStepSound(void) override