mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 19:24:12 +00:00
Move responsibility of copying block-picked item NBT to Block instead of Player
This commit is contained in:
@ -35,7 +35,7 @@ class Potato extends Crops{
|
||||
];
|
||||
}
|
||||
|
||||
public function getPickedItem() : Item{
|
||||
public function getPickedItem(bool $addUserData = false) : Item{
|
||||
return ItemFactory::get(Item::POTATO);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user