From 9acbf518eaa03b2c26fac4a36a7e1b96d9333dea Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Tue, 17 Jun 2025 21:05:10 +0300 Subject: [PATCH] fixed incorrect destruction speed of clay block using shovel --- src/material/item/base/ItemShovel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/item/base/ItemShovel.php b/src/material/item/base/ItemShovel.php index fce7cba3..84bbb9cd 100644 --- a/src/material/item/base/ItemShovel.php +++ b/src/material/item/base/ItemShovel.php @@ -23,7 +23,7 @@ class ItemShovel extends ItemTool public function getDestroySpeed($id, $meta){ $effMult = ItemTool::TIER_EFFICIENCY_MULTIPLIER[$this->getLevel()] ?? ItemTool::TIER_EFFICIENCY_MULTIPLIER[0]; - if($id == GRASS || $id == DIRT || $id == SAND || $id == GRAVEL || $id == SNOW_LAYER || $id == SNOW || $id == CLAY || $id == FARMLAND) return $effMult; + if($id == GRASS || $id == DIRT || $id == SAND || $id == GRAVEL || $id == SNOW_LAYER || $id == SNOW || $id == CLAY_BLOCK || $id == FARMLAND) return $effMult; return parent::getDestroySpeed($id, $meta); } }