summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-15 16:36:24 +0200
committerAlexander Harkness <me@bearbin.net>2020-04-15 23:58:27 +0200
commitdc4df6654855d8b577e3e406e99bfeef81f232de (patch)
tree7439fefc1869275180a3790eadb3d8f26cd131f6
parentServerHandle: Fix closing failed servers. (#4653) (diff)
downloadcuberite-dc4df6654855d8b577e3e406e99bfeef81f232de.tar
cuberite-dc4df6654855d8b577e3e406e99bfeef81f232de.tar.gz
cuberite-dc4df6654855d8b577e3e406e99bfeef81f232de.tar.bz2
cuberite-dc4df6654855d8b577e3e406e99bfeef81f232de.tar.lz
cuberite-dc4df6654855d8b577e3e406e99bfeef81f232de.tar.xz
cuberite-dc4df6654855d8b577e3e406e99bfeef81f232de.tar.zst
cuberite-dc4df6654855d8b577e3e406e99bfeef81f232de.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockTrapdoor.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Blocks/BlockTrapdoor.h b/src/Blocks/BlockTrapdoor.h
index e5361706c..3a768376a 100644
--- a/src/Blocks/BlockTrapdoor.h
+++ b/src/Blocks/BlockTrapdoor.h
@@ -106,18 +106,6 @@ public:
}
}
- virtual bool CanBeAt(cChunkInterface & a_ChunkInterface, int a_RelX, int a_RelY, int a_RelZ, const cChunk & a_Chunk) override
- {
- NIBBLETYPE Meta;
- a_Chunk.UnboundedRelGetBlockMeta(a_RelX, a_RelY, a_RelZ, Meta);
-
- AddFaceDirection(a_RelX, a_RelY, a_RelZ, BlockMetaDataToBlockFace(Meta), true);
- BLOCKTYPE BlockIsOn;
- a_Chunk.UnboundedRelGetBlockType(a_RelX, a_RelY, a_RelZ, BlockIsOn);
-
- return ((a_RelY > 0) && cBlockInfo::IsSolid(BlockIsOn));
- }
-
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override
{
UNUSED(a_Meta);