mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
SplashPotion: added getType() (#4613)
This commit is contained in:
@@ -37,6 +37,8 @@ class SplashPotion extends ProjectileItem{
|
||||
$this->potionType = $potionType;
|
||||
}
|
||||
|
||||
public function getType() : PotionType{ return $this->potionType; }
|
||||
|
||||
public function getMaxStackSize() : int{
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user