mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Replace disallowed operators in src/inventory/
This commit is contained in:
@ -49,7 +49,7 @@ class PlayerInventory extends SimpleInventory{
|
||||
}
|
||||
|
||||
public function isHotbarSlot(int $slot) : bool{
|
||||
return $slot >= 0 and $slot <= $this->getHotbarSize();
|
||||
return $slot >= 0 && $slot <= $this->getHotbarSize();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user