SplashPotion: added getType() (#4613)

This commit is contained in:
xxAROX
2021-12-06 21:29:01 +01:00
committed by GitHub
parent 2486dabd8a
commit cd850b111d

View File

@@ -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;
} }