diff options
Diffstat (limited to 'source/blocks/BlockEntity.h')
-rw-r--r-- | source/blocks/BlockEntity.h | 2 |
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);
}
|