mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
SplashPotion: fix max stack size
This commit is contained in:
parent
f2f8c235e7
commit
ba0a256834
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user