mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Block: Drop unnecessary parameters for ItemFactory::get()
This commit is contained in:
@ -109,7 +109,7 @@ class Farmland extends Transparent{
|
||||
|
||||
public function getDropsForCompatibleTool(Item $item) : array{
|
||||
return [
|
||||
ItemFactory::get(Item::DIRT, 0, 1)
|
||||
ItemFactory::get(Item::DIRT)
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user