summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockWorkbench.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Blocks/BlockWorkbench.h')
-rw-r--r--src/Blocks/BlockWorkbench.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockWorkbench.h b/src/Blocks/BlockWorkbench.h
index e654a6b84..a0ec3df4a 100644
--- a/src/Blocks/BlockWorkbench.h
+++ b/src/Blocks/BlockWorkbench.h
@@ -29,7 +29,7 @@ private:
const Vector3i a_CursorPos
) const override
{
- a_Player.GetStatManager().AddValue(Statistic::InteractWithCraftingTable);
+ a_Player.GetStatistics().Custom[CustomStatistic::InteractWithCraftingTable]++;
cWindow * Window = new cCraftingWindow();
a_Player.OpenWindow(*Window);