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

@ -179,7 +179,7 @@ class Leaves extends Transparent{
$drops[] = $this->getSaplingItem();
}
if($this->canDropApples() and mt_rand(1, 200) === 1){ //Apples
$drops[] = ItemFactory::get(Item::APPLE, 0, 1);
$drops[] = ItemFactory::get(Item::APPLE);
}
return $drops;