mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +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