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:
@ -112,7 +112,7 @@ class Anvil extends Fallable{
|
||||
|
||||
public function getDropsForCompatibleTool(Item $item) : array{
|
||||
return [
|
||||
ItemFactory::get($this->getItemId(), $this->getDamage() & 0x0c, 1)
|
||||
ItemFactory::get($this->getItemId(), $this->getDamage() & 0x0c)
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user