mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
EnderPearl: fixed max stack size
This commit is contained in:
@ -28,6 +28,10 @@ class EnderPearl extends ProjectileItem{
|
||||
parent::__construct(self::ENDER_PEARL, $meta, "Ender Pearl");
|
||||
}
|
||||
|
||||
public function getMaxStackSize() : int{
|
||||
return 16;
|
||||
}
|
||||
|
||||
public function getProjectileEntityType() : string{
|
||||
return "ThrownEnderpearl";
|
||||
}
|
||||
|
Reference in New Issue
Block a user