mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
Fixed #3232
This commit is contained in:
parent
4d95c65d95
commit
9f953fa675
@ -65,7 +65,7 @@ class Stone extends Solid{
|
|||||||
public function getDrops(Item $item){
|
public function getDrops(Item $item){
|
||||||
if($item->isPickaxe() >= Tool::TIER_WOODEN){
|
if($item->isPickaxe() >= Tool::TIER_WOODEN){
|
||||||
return [
|
return [
|
||||||
[Item::COBBLESTONE, 0, 1],
|
[$this->getDamage() === 0 ? Item::COBBLESTONE : Item::STONE, $this->getDamage(), 1],
|
||||||
];
|
];
|
||||||
}else{
|
}else{
|
||||||
return [];
|
return [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user