mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed possible infinite loop in hasSpace
This commit is contained in:
parent
f29181a8ee
commit
4a46d8fd9c
1 changed files with 1 additions and 1 deletions
|
|
@ -351,7 +351,7 @@ class Player{
|
|||
break;
|
||||
}
|
||||
}
|
||||
if($add === 0){
|
||||
if($add <= 0){
|
||||
return false;
|
||||
}
|
||||
$count -= $add;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue