* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
23 lines
271 B
C++
23 lines
271 B
C++
|
|
#pragma once
|
|
|
|
#include "BlockHandler.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cBlockNetherrack final : public cBlockHandler
|
|
{
|
|
public:
|
|
|
|
using cBlockHandler::cBlockHandler;
|
|
|
|
private:
|
|
|
|
virtual bool CanSustainPlant(BLOCKTYPE a_Plant) const override
|
|
{
|
|
return a_Plant == E_BLOCK_NETHER_WART;
|
|
}
|
|
};
|