diff options
Diffstat (limited to 'src/BlockEntities/EnderChestEntity.cpp')
-rw-r--r-- | src/BlockEntities/EnderChestEntity.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/BlockEntities/EnderChestEntity.cpp b/src/BlockEntities/EnderChestEntity.cpp index 74e6a7d23..44bfaf7d4 100644 --- a/src/BlockEntities/EnderChestEntity.cpp +++ b/src/BlockEntities/EnderChestEntity.cpp @@ -61,6 +61,9 @@ bool cEnderChestEntity::UsedBy(cPlayer * a_Player) // Obstruction, don't open return false; } + + a_Player->GetStatManager().AddValue(Statistic::OpenEnderchest); + // If the window is not created, open it anew: cWindow * Window = GetWindow(); if (Window == nullptr) |