This commit is contained in:
Dylan K. Taylor
2021-05-02 13:43:37 +01:00
parent 988c976459
commit 4c783f1037

View File

@ -102,7 +102,7 @@ trait InventoryHelpersTrait{
public function firstEmpty() : int{
foreach($this->getContents(true) as $i => $slot){
if($slot === null or $slot->isNull()){
if($slot->isNull()){
return $i;
}
}