Fixed things

This commit is contained in:
Shoghi Cervantes
2014-05-22 20:48:17 +02:00
parent 98e9b5594c
commit 48af130269
3 changed files with 24 additions and 10 deletions

View File

@ -149,6 +149,11 @@ trait Container{
return -1;
}
/**
* @param int $s
*
* @return Item
*/
public function getSlot($s){
$i = $this->getSlotIndex($s);
if($i === false or $i < 0){