Remove deprecated things

This commit is contained in:
Dylan K. Taylor
2018-02-27 11:59:16 +00:00
parent f903dbfe00
commit f0535df96d
10 changed files with 0 additions and 114 deletions

View File

@ -47,18 +47,6 @@ class CraftItemEvent extends Event implements Cancellable{
return $this->transaction;
}
/**
* @deprecated This returns a one-dimensional array of ingredients and does not account for the positioning of
* items in the crafting grid. Prefer getting the input map from the transaction instead.
*
* @return Item[]
*/
public function getInput() : array{
return array_map(function(Item $item) : Item{
return clone $item;
}, array_merge(...$this->transaction->getInputMap()));
}
/**
* @return Recipe
*/