1 2 3 4 5 6 7 8 9 10 11 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); } };