summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockCloth.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/blocks/BlockCloth.h')
-rw-r--r--source/blocks/BlockCloth.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blocks/BlockCloth.h b/source/blocks/BlockCloth.h
index dca7184cb..f2ce78fb5 100644
--- a/source/blocks/BlockCloth.h
+++ b/source/blocks/BlockCloth.h
@@ -5,8 +5,12 @@
class cBlockClothHandler : public cBlockHandler
{
public:
- cBlockClothHandler(BLOCKTYPE a_BlockID);
- char GetDropMeta(char a_BlockMeta)
+ cBlockClothHandler(BLOCKTYPE a_BlockID)
+ : cBlockHandler(a_BlockID)
+ {
+ }
+
+ virtual NIBBLETYPE GetDropMeta(NIBBLETYPE a_BlockMeta) override
{
return a_BlockMeta;
}