mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 06:25:32 +00:00
shut
This commit is contained in:
parent
988c976459
commit
4c783f1037
@ -102,7 +102,7 @@ trait InventoryHelpersTrait{
|
|||||||
|
|
||||||
public function firstEmpty() : int{
|
public function firstEmpty() : int{
|
||||||
foreach($this->getContents(true) as $i => $slot){
|
foreach($this->getContents(true) as $i => $slot){
|
||||||
if($slot === null or $slot->isNull()){
|
if($slot->isNull()){
|
||||||
return $i;
|
return $i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user