Block: Drop unnecessary parameters for ItemFactory::get()

This commit is contained in:
Dylan K. Taylor
2017-12-13 18:37:04 +00:00
parent 853411fa4f
commit 6abf880e44
20 changed files with 23 additions and 23 deletions

View File

@ -448,7 +448,7 @@ class Block extends Position implements BlockIds, Metadatable{
*/
public function getDropsForCompatibleTool(Item $item) : array{
return [
ItemFactory::get($this->getItemId(), $this->getVariant(), 1)
ItemFactory::get($this->getItemId(), $this->getVariant())
];
}