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:
@ -49,7 +49,7 @@ class Gravel extends Fallable{
|
||||
public function getDropsForCompatibleTool(Item $item) : array{
|
||||
if(mt_rand(1, 10) === 1){
|
||||
return [
|
||||
ItemFactory::get(Item::FLINT, 0, 1)
|
||||
ItemFactory::get(Item::FLINT)
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user