summaryrefslogtreecommitdiffstats
path: root/src/Items
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
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')
-rw-r--r--src/Items/ItemHandler.cpp9
-rw-r--r--src/Items/ItemHandler.h3
2 files changed, 0 insertions, 12 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index 5cc5b66a0..d97f986ba 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -521,15 +521,6 @@ bool cItemHandler::CanRepairWithRawMaterial(short a_ItemType)
-int cItemHandler::GetRepairCost(void)
-{
- return 0;
-}
-
-
-
-
-
bool cItemHandler::CanHarvestBlock(BLOCKTYPE a_BlockType)
{
UNUSED(a_BlockType);
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.