summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authormathiascode <mail@mathias.is>2020-04-24 18:39:22 +0200
committermathiascode <mail@mathias.is>2020-04-24 18:39:22 +0200
commite6cc792cef130265c1904c7ff569571b59b02009 (patch)
treeec9dc00d4194375d33487983d104f999115b91be /src/Blocks
parentUnify 1.8 and 1.9 (diff)
downloadcuberite-e6cc792cef130265c1904c7ff569571b59b02009.tar
cuberite-e6cc792cef130265c1904c7ff569571b59b02009.tar.gz
cuberite-e6cc792cef130265c1904c7ff569571b59b02009.tar.bz2
cuberite-e6cc792cef130265c1904c7ff569571b59b02009.tar.lz
cuberite-e6cc792cef130265c1904c7ff569571b59b02009.tar.xz
cuberite-e6cc792cef130265c1904c7ff569571b59b02009.tar.zst
cuberite-e6cc792cef130265c1904c7ff569571b59b02009.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockBookShelf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockBookShelf.h b/src/Blocks/BlockBookShelf.h
index 477cb47b7..4d1afb1fa 100644
--- a/src/Blocks/BlockBookShelf.h
+++ b/src/Blocks/BlockBookShelf.h
@@ -17,7 +17,7 @@ class cBlockBookShelfHandler :
virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, cBlockEntity * a_BlockEntity, const cEntity * a_Digger, const cItem * a_Tool) override
{
- if ((ItemCategory::IsTool(a_Tool->m_ItemType)) && (ToolHasSilkTouch(a_Tool)))
+ if (ToolHasSilkTouch(a_Tool))
{
return cItem(m_BlockType, 1);
}