diff options
Diffstat (limited to 'src/Blocks/BlockPressurePlate.h')
-rw-r--r-- | src/Blocks/BlockPressurePlate.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/Blocks/BlockPressurePlate.h b/src/Blocks/BlockPressurePlate.h index 6d852bfc0..bf78329b1 100644 --- a/src/Blocks/BlockPressurePlate.h +++ b/src/Blocks/BlockPressurePlate.h @@ -9,17 +9,14 @@ -class cBlockPressurePlateHandler final : - public cClearMetaOnDrop<cBlockHandler> +class cBlockPressurePlateHandler final : public cClearMetaOnDrop<cBlockHandler> { using Super = cClearMetaOnDrop<cBlockHandler>; -public: - + public: using Super::Super; -private: - + private: virtual bool CanBeAt(const cChunk & a_Chunk, const Vector3i a_Position, const NIBBLETYPE a_Meta) const override { if (a_Position.y <= 0) @@ -72,8 +69,8 @@ private: UNUSED(a_Meta); switch (m_BlockType) { - case E_BLOCK_STONE_PRESSURE_PLATE: return 11; - case E_BLOCK_WOODEN_PRESSURE_PLATE: return 13; + case E_BLOCK_STONE_PRESSURE_PLATE: return 11; + case E_BLOCK_WOODEN_PRESSURE_PLATE: return 13; case E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE: return 6; case E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE: return 30; default: @@ -83,8 +80,4 @@ private: } } } -} ; - - - - +}; |