mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 05:55:33 +00:00
Update BaseInventory.php
This commit is contained in:
parent
db8ac0b9cb
commit
df81b365e5
@ -126,6 +126,7 @@ abstract class BaseInventory implements Inventory{
|
||||
return false;
|
||||
}elseif($item->getID() === 0 or $item->getCount() <= 0){
|
||||
$this->clear($index, $source);
|
||||
return true;
|
||||
}
|
||||
|
||||
$holder = $this->getHolder();
|
||||
|
Loading…
x
Reference in New Issue
Block a user