mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Code cleanup
This commit is contained in:
@ -88,6 +88,8 @@ class SimpleTransactionGroup implements TransactionGroup{
|
||||
/**
|
||||
* @param Item[] $needItems
|
||||
* @param Item[] $haveItems
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected function matchItems(array &$needItems, array &$haveItems){
|
||||
foreach($this->transactions as $key => $ts){
|
||||
@ -120,6 +122,8 @@ class SimpleTransactionGroup implements TransactionGroup{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public function canExecute(){
|
||||
|
Reference in New Issue
Block a user