mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-19 18:04:07 +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");
|
parent::__construct(self::ENDER_PEARL, $meta, "Ender Pearl");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getMaxStackSize() : int{
|
||||||
|
return 16;
|
||||||
|
}
|
||||||
|
|
||||||
public function getProjectileEntityType() : string{
|
public function getProjectileEntityType() : string{
|
||||||
return "ThrownEnderpearl";
|
return "ThrownEnderpearl";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user