From f6ae6002c3db2535a9858cf88537845245e6e7ba Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Sun, 19 Aug 2012 10:44:19 +0000 Subject: Fixed Bug #236 Workbench, Chest and Furnace are usable again git-svn-id: http://mc-server.googlecode.com/svn/trunk@755 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/blocks/BlockEntity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blocks/BlockEntity.h') 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); } -- cgit v1.2.3