diff options
Diffstat (limited to 'src/Blocks/BlockCloth.h')
-rw-r--r-- | src/Blocks/BlockCloth.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/Blocks/BlockCloth.h b/src/Blocks/BlockCloth.h index a46cfafb2..0e24e7d37 100644 --- a/src/Blocks/BlockCloth.h +++ b/src/Blocks/BlockCloth.h @@ -11,12 +11,12 @@ class cBlockClothHandler : public cBlockHandler { public: - cBlockClothHandler(BLOCKTYPE a_BlockType) - : cBlockHandler(a_BlockType) - { - } - virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override + using cBlockHandler::cBlockHandler; + +private: + + virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override { switch (a_Meta) { @@ -44,7 +44,3 @@ public: } } } ; - - - - |