mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
SplashPotion: added getType() (#4613)
This commit is contained in:
parent
2486dabd8a
commit
cd850b111d
@ -37,6 +37,8 @@ class SplashPotion extends ProjectileItem{
|
||||
$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