mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Podzol should be affected by silk touch (#5969)
This commit is contained in:
@ -27,6 +27,10 @@ use pocketmine\item\Item;
|
|||||||
|
|
||||||
class Podzol extends Opaque{
|
class Podzol extends Opaque{
|
||||||
|
|
||||||
|
public function isAffectedBySilkTouch() : bool{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public function getDropsForCompatibleTool(Item $item) : array{
|
public function getDropsForCompatibleTool(Item $item) : array{
|
||||||
return [
|
return [
|
||||||
VanillaBlocks::DIRT()->asItem()
|
VanillaBlocks::DIRT()->asItem()
|
||||||
|
Reference in New Issue
Block a user