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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,8 @@ class SplashPotion extends ProjectileItem{
$this->potionType = $potionType;
}
public function getType() : PotionType{ return $this->potionType; }
public function getMaxStackSize() : int{
return 1;
}