summaryrefslogtreecommitdiffstats
path: root/source/blocks/BlockWorkbench.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/blocks/BlockWorkbench.h')
-rw-r--r--source/blocks/BlockWorkbench.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blocks/BlockWorkbench.h b/source/blocks/BlockWorkbench.h
index d654ca666..52c3ad738 100644
--- a/source/blocks/BlockWorkbench.h
+++ b/source/blocks/BlockWorkbench.h
@@ -11,7 +11,7 @@ public:
{
}
- virtual void OnClick(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z) override
+ virtual void OnUse(cWorld *a_World, cPlayer *a_Player, int a_X, int a_Y, int a_Z) override
{
cWindow* Window = new cCraftingWindow(0, true);
a_Player->OpenWindow(Window);