mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
SplashPotion: fix max stack size
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user