mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed things
This commit is contained in:
@ -149,6 +149,11 @@ trait Container{
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $s
|
||||
*
|
||||
* @return Item
|
||||
*/
|
||||
public function getSlot($s){
|
||||
$i = $this->getSlotIndex($s);
|
||||
if($i === false or $i < 0){
|
||||
|
Reference in New Issue
Block a user