diff options
Diffstat (limited to 'src/Blocks/BlockNetherrack.h')
-rw-r--r-- | src/Blocks/BlockNetherrack.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Blocks/BlockNetherrack.h b/src/Blocks/BlockNetherrack.h new file mode 100644 index 000000000..3ccd811f3 --- /dev/null +++ b/src/Blocks/BlockNetherrack.h @@ -0,0 +1,12 @@ +#pragma once + + +#include "BlockHandler.h" + +class cBlockNetherrack : public cBlockHandler +{ +public: + cBlockNetherrack(BLOCKTYPE a_Type) : cBlockHandler(a_Type){} + + virtual bool CanSustainPlant(BLOCKTYPE a_Plant) override { return (a_Plant == E_BLOCK_NETHER_WART); } +}; |