Potion: added getType()

This commit is contained in:
Dylan K. Taylor 2021-06-29 16:53:26 +01:00
parent 6fb8ac211e
commit f68caa878a
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -34,6 +34,8 @@ class Potion extends Item implements ConsumableItem{
$this->potionType = $potionType;
}
public function getType() : PotionType{ return $this->potionType; }
public function getMaxStackSize() : int{
return 1;
}