From ea2ed2c918bddf773bb8d10298016f4e5309d0b2 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 3 Oct 2012 08:52:11 +0000 Subject: Moved blockticking into blockhandler classes. Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Items/ItemHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Items/ItemHandler.h') diff --git a/source/Items/ItemHandler.h b/source/Items/ItemHandler.h index 67935ecb4..23aa0448d 100644 --- a/source/Items/ItemHandler.h +++ b/source/Items/ItemHandler.h @@ -64,7 +64,7 @@ public: //Returns the block meta on placement virtual NIBBLETYPE GetBlockMeta(short a_ItemDamage); // Returns whether this tool/item can harvest a specific block (e.g. wooden pickaxe can harvest stone, but wood canīt) DEFAULT: False - virtual bool CanHarvestBlock(BLOCKTYPE a_BlockID); + virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType); static cItemHandler *GetItemHandler(int a_ItemID); -- cgit v1.2.3