summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockEntity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/blocks/BlockEntity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blocks/BlockEntity.h b/source/blocks/BlockEntity.h
index 085b65158..bfc3241d3 100644
--- a/source/blocks/BlockEntity.h
+++ b/source/blocks/BlockEntity.h
@@ -15,7 +15,7 @@ public:
{
}
- virtual void OnClick(cWorld * a_World, cPlayer *a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override
+ virtual void OnUse(cWorld * a_World, cPlayer *a_Player, int a_BlockX, int a_BlockY, int a_BlockZ) override
{
a_World->UseBlockEntity(a_Player, a_BlockX, a_BlockY, a_BlockZ);
}