summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockNetherrack.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/BlockNetherrack.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Blocks/BlockNetherrack.h')
-rw-r--r--src/Blocks/BlockNetherrack.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Blocks/BlockNetherrack.h b/src/Blocks/BlockNetherrack.h
index dfcfeacbd..f5a342539 100644
--- a/src/Blocks/BlockNetherrack.h
+++ b/src/Blocks/BlockNetherrack.h
@@ -9,14 +9,9 @@
class cBlockNetherrack final : public cBlockHandler
{
-public:
-
+ public:
using cBlockHandler::cBlockHandler;
-private:
-
- virtual bool CanSustainPlant(BLOCKTYPE a_Plant) const override
- {
- return a_Plant == E_BLOCK_NETHER_WART;
- }
+ private:
+ virtual bool CanSustainPlant(BLOCKTYPE a_Plant) const override { return a_Plant == E_BLOCK_NETHER_WART; }
};