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:
@@ -63,9 +63,8 @@ bool cStatManager::SatisfiesPrerequisite(const Statistic a_Stat)
|
||||
case Statistic::AchKillWither: return IsStatisticPresent(Statistic::AchSpawnWither);
|
||||
case Statistic::AchFullBeacon: return IsStatisticPresent(Statistic::AchKillWither);
|
||||
case Statistic::AchDiamondsToYou: return IsStatisticPresent(Statistic::AchDiamonds);
|
||||
default: return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user