mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 01:51:51 +00:00
Podzol should be affected by silk touch (#5969)
This commit is contained in:
parent
81941ae9e5
commit
35a28300f6
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user