cc83c4641d
* Blocks now have an effect upon plant growth, just like in vanilla.
13 lines
267 B
C++
13 lines
267 B
C++
#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); }
|
|
};
|