SplashPotion: fix max stack size

This commit is contained in:
Dylan K. Taylor 2018-03-11 13:43:45 +00:00
parent f2f8c235e7
commit ba0a256834

View File

@ -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";
}