mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Fixed block-pick on crops giving the crop block itself
This commit is contained in:
@ -88,4 +88,8 @@ class MelonStem extends Crops{
|
||||
ItemFactory::get(Item::MELON_SEEDS, 0, mt_rand(0, 2))
|
||||
];
|
||||
}
|
||||
|
||||
public function getPickedItem() : Item{
|
||||
return ItemFactory::get(Item::MELON_SEEDS);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user