mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
SplashPotion: added getType() (#4613)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user