summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-07 12:30:30 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-07 12:30:30 +0200
commitd6cb6e0423fe38478c69f5d249882a01d727f0ed (patch)
tree5058b8901bc482a1711f537618a04be5791c6994 /src/Items/ItemHandler.h
parentRename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count() (diff)
downloadcuberite-d6cb6e0423fe38478c69f5d249882a01d727f0ed.tar
cuberite-d6cb6e0423fe38478c69f5d249882a01d727f0ed.tar.gz
cuberite-d6cb6e0423fe38478c69f5d249882a01d727f0ed.tar.bz2
cuberite-d6cb6e0423fe38478c69f5d249882a01d727f0ed.tar.lz
cuberite-d6cb6e0423fe38478c69f5d249882a01d727f0ed.tar.xz
cuberite-d6cb6e0423fe38478c69f5d249882a01d727f0ed.tar.zst
cuberite-d6cb6e0423fe38478c69f5d249882a01d727f0ed.zip
Diffstat (limited to 'src/Items/ItemHandler.h')
-rw-r--r--src/Items/ItemHandler.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Items/ItemHandler.h b/src/Items/ItemHandler.h
index ca090eb29..e13198cd7 100644
--- a/src/Items/ItemHandler.h
+++ b/src/Items/ItemHandler.h
@@ -88,9 +88,6 @@ public:
/** Can the anvil repair this item, when a_Item is the second input? */
virtual bool CanRepairWithRawMaterial(short a_ItemType);
- /** Get the repair cost from the item, or 0 if the item hasn't repair cost. */
- virtual int GetRepairCost(void);
-
/** Called before a block is placed into a world.
The handler should return true to allow placement, false to refuse.
Also, the handler should set a_BlockType and a_BlockMeta to correct values for the newly placed block.