Merge pull request #2235 from nno88551/patch-2

Update BaseInventory.php
This commit is contained in:
Shoghi Cervantes 2014-10-26 15:52:08 +01:00
commit 9e01e2ef49

View File

@ -126,6 +126,7 @@ abstract class BaseInventory implements Inventory{
return false;
}elseif($item->getID() === 0 or $item->getCount() <= 0){
$this->clear($index, $source);
return true;
}
$holder = $this->getHolder();
@ -426,4 +427,4 @@ abstract class BaseInventory implements Inventory{
return $this->type;
}
}
}