mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 16:24:05 +00:00
shut
This commit is contained in:
parent
988c976459
commit
4c783f1037
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user