Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)

* 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>
This commit is contained in:
peterbell10
2020-10-05 10:27:14 +00:00
committed by GitHub
co-authored by Tiger Wang
parent 23021dd828
commit a9031b6bae
144 changed files with 886 additions and 862 deletions
+13 -1
View File
@@ -7,7 +7,7 @@
class cBlockOreHandler:
class cBlockOreHandler :
public cBlockHandler
{
using Super = cBlockHandler;
@@ -16,6 +16,10 @@ public:
using Super::Super;
protected:
~cBlockOreHandler() = default;
private:
virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const override
@@ -124,3 +128,11 @@ private:
class cDefaultOreHandler final :
public cBlockOreHandler
{
public:
using cBlockOreHandler::cBlockOreHandler;
};