mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-20 18:06:40 +00:00
EntityShootBowEvent: fixed incorrect field type
This commit is contained in:
parent
e0eeb87ea0
commit
3d9e19546f
@ -39,7 +39,7 @@ class EntityShootBowEvent extends EntityEvent implements Cancellable{
|
|||||||
|
|
||||||
/** @var Item */
|
/** @var Item */
|
||||||
private $bow;
|
private $bow;
|
||||||
/** @var Projectile */
|
/** @var Entity */
|
||||||
private $projectile;
|
private $projectile;
|
||||||
/** @var float */
|
/** @var float */
|
||||||
private $force;
|
private $force;
|
||||||
|
@ -600,11 +600,6 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: ../../../src/entity/projectile/Projectile.php
|
path: ../../../src/entity/projectile/Projectile.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Property pocketmine\\\\event\\\\entity\\\\EntityShootBowEvent\\:\\:\\$projectile \\(pocketmine\\\\entity\\\\projectile\\\\Projectile\\) does not accept pocketmine\\\\entity\\\\Entity\\.$#"
|
|
||||||
count: 1
|
|
||||||
path: ../../../src/event/entity/EntityShootBowEvent.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
|
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user