This commit is contained in:
Shoghi Cervantes
2014-11-03 12:54:46 +01:00
parent 6993718a83
commit a8c997d88a
2 changed files with 2 additions and 4 deletions

View File

@ -125,8 +125,7 @@ abstract class BaseInventory implements Inventory{
if($index < 0 or $index >= $this->size){
return false;
}elseif($item->getID() === 0 or $item->getCount() <= 0){
$this->clear($index, $source);
return true;
return $this->clear($index, $source);
}
$holder = $this->getHolder();