diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2021-06-06 22:49:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 22:49:18 +0200 |
commit | 1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303 (patch) | |
tree | 972f1baf3d3544fbfaff798ffa27644a991f2b0b /src | |
parent | Added standardised way to Log with plugin name (#5227) (diff) | |
download | cuberite-1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303.tar cuberite-1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303.tar.gz cuberite-1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303.tar.bz2 cuberite-1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303.tar.lz cuberite-1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303.tar.xz cuberite-1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303.tar.zst cuberite-1322b0c4d11e600f2a6a0149ce2a1ea2bbb1e303.zip |
Diffstat (limited to '')
-rw-r--r-- | src/StatisticsManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/StatisticsManager.cpp b/src/StatisticsManager.cpp index 0b343cb76..75f23ab52 100644 --- a/src/StatisticsManager.cpp +++ b/src/StatisticsManager.cpp @@ -13,6 +13,7 @@ bool StatisticsManager::SatisfiesPrerequisite(const CustomStatistic a_Stat) cons { switch (a_Stat) { + case CustomStatistic::AchOpenInventory: return true; case CustomStatistic::AchMineWood: return IsStatisticPresent(CustomStatistic::AchOpenInventory); case CustomStatistic::AchBuildWorkBench: return IsStatisticPresent(CustomStatistic::AchMineWood); case CustomStatistic::AchBuildHoe: return IsStatisticPresent(CustomStatistic::AchBuildWorkBench); |