mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +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;
|
$this->potionType = $potionType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getType() : PotionType{ return $this->potionType; }
|
||||||
|
|
||||||
public function getMaxStackSize() : int{
|
public function getMaxStackSize() : int{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user