summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMushroom.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Blocks/BlockMushroom.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.gz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.bz2
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.lz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.xz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.zst
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.zip
Diffstat (limited to 'src/Blocks/BlockMushroom.h')
-rw-r--r--src/Blocks/BlockMushroom.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/Blocks/BlockMushroom.h b/src/Blocks/BlockMushroom.h
index bed16c557..b51c46e51 100644
--- a/src/Blocks/BlockMushroom.h
+++ b/src/Blocks/BlockMushroom.h
@@ -8,17 +8,14 @@
/** Handler for the small (singleblock) mushrooms. */
-class cBlockMushroomHandler final :
- public cClearMetaOnDrop<cBlockHandler>
+class cBlockMushroomHandler final : public cClearMetaOnDrop<cBlockHandler>
{
using Super = cClearMetaOnDrop<cBlockHandler>;
-public:
-
+ public:
using Super::Super;
-private:
-
+ private:
// TODO: Add Mushroom Spread
virtual bool CanBeAt(const cChunk & a_Chunk, const Vector3i a_Position, const NIBBLETYPE a_Meta) const override
@@ -54,8 +51,4 @@ private:
UNUSED(a_Meta);
return 0;
}
-} ;
-
-
-
-
+};