This commit is contained in:
Dylan K. Taylor 2021-05-02 13:43:37 +01:00
parent 988c976459
commit 4c783f1037
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

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;
}
}