Replace disallowed operators in src/inventory/

This commit is contained in:
Dylan K. Taylor
2022-01-20 19:20:32 +00:00
parent b85fe0e72a
commit e986a0a4f2
3 changed files with 5 additions and 5 deletions

View File

@ -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();
}
/**