diff --git a/src/pocketmine/item/SplashPotion.php b/src/pocketmine/item/SplashPotion.php index b765f5d3a..fe1db4311 100644 --- a/src/pocketmine/item/SplashPotion.php +++ b/src/pocketmine/item/SplashPotion.php @@ -31,6 +31,10 @@ class SplashPotion extends ProjectileItem{ parent::__construct(self::SPLASH_POTION, $meta, "Splash Potion"); } + public function getMaxStackSize() : int{ + return 1; + } + public function getProjectileEntityType() : string{ return "ThrownPotion"; }