diff options
author | Mattes D <github@xoft.cz> | 2014-05-06 21:46:50 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-05-06 21:46:50 +0200 |
commit | 66c5c81e02dd9350542e1dd65b8e33c2f45a011b (patch) | |
tree | e719f55d50354e881c8ace1ca83516596519abaf /src/Items/ItemHandler.cpp | |
parent | Merge pull request #927 from mc-server/fixes (diff) | |
parent | Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count() (diff) | |
download | cuberite-66c5c81e02dd9350542e1dd65b8e33c2f45a011b.tar cuberite-66c5c81e02dd9350542e1dd65b8e33c2f45a011b.tar.gz cuberite-66c5c81e02dd9350542e1dd65b8e33c2f45a011b.tar.bz2 cuberite-66c5c81e02dd9350542e1dd65b8e33c2f45a011b.tar.lz cuberite-66c5c81e02dd9350542e1dd65b8e33c2f45a011b.tar.xz cuberite-66c5c81e02dd9350542e1dd65b8e33c2f45a011b.tar.zst cuberite-66c5c81e02dd9350542e1dd65b8e33c2f45a011b.zip |
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r-- | src/Items/ItemHandler.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp index ce9593a70..5cc5b66a0 100644 --- a/src/Items/ItemHandler.cpp +++ b/src/Items/ItemHandler.cpp @@ -511,6 +511,25 @@ bool cItemHandler::IsPlaceable(void) + +bool cItemHandler::CanRepairWithRawMaterial(short a_ItemType) +{ + return false; +} + + + + + +int cItemHandler::GetRepairCost(void) +{ + return 0; +} + + + + + bool cItemHandler::CanHarvestBlock(BLOCKTYPE a_BlockType) { UNUSED(a_BlockType); |