mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 10:01:53 +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";
|
return "Double " . BlockFactory::get($this->getSlabId(), $this->getVariant())->getName() . " Slab";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDrops(Item $item) : array{
|
public function getDropsForCompatibleTool(Item $item) : array{
|
||||||
return [
|
return [
|
||||||
ItemFactory::get($this->getSlabId(), $this->getVariant(), 2)
|
ItemFactory::get($this->getSlabId(), $this->getVariant(), 2)
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user