mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Fixed being able to mine double stone slabs without a pickaxe
This commit is contained in:
parent
015cde2169
commit
50f3231629
@ -38,7 +38,7 @@ abstract class DoubleSlab extends Solid{
|
||||
return "Double " . BlockFactory::get($this->getSlabId(), $this->getVariant())->getName() . " Slab";
|
||||
}
|
||||
|
||||
public function getDrops(Item $item) : array{
|
||||
public function getDropsForCompatibleTool(Item $item) : array{
|
||||
return [
|
||||
ItemFactory::get($this->getSlabId(), $this->getVariant(), 2)
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user