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