mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Potion: added getType()
This commit is contained in:
parent
6fb8ac211e
commit
f68caa878a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user