mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
EnderPearl: fixed max stack size
This commit is contained in:
parent
31106bc227
commit
b130374e46
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user