mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 08:56:15 +00:00
shut
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user