summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-07 22:18:53 +0200
committerMattes D <github@xoft.cz>2014-05-07 22:18:53 +0200
commitd1b719885da02e917a420b625085e0bd6b9fd70b (patch)
treec8cd2b05be0874aca2f3f5ed572e823ef6c860d9 /src/Items
parentMerge pull request #853 from Howaner/Slabs (diff)
parentMissing comma (diff)
downloadcuberite-d1b719885da02e917a420b625085e0bd6b9fd70b.tar
cuberite-d1b719885da02e917a420b625085e0bd6b9fd70b.tar.gz
cuberite-d1b719885da02e917a420b625085e0bd6b9fd70b.tar.bz2
cuberite-d1b719885da02e917a420b625085e0bd6b9fd70b.tar.lz
cuberite-d1b719885da02e917a420b625085e0bd6b9fd70b.tar.xz
cuberite-d1b719885da02e917a420b625085e0bd6b9fd70b.tar.zst
cuberite-d1b719885da02e917a420b625085e0bd6b9fd70b.zip
Diffstat (limited to '')
-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.