ethaniccc/Mockingbird

Player Hit Problem with hand or item

Closed this issue · 1 comments

TypeError: "Argument 2 passed to ethaniccc\Mockingbird\utils\boundingbox\AABB::__construct() must be of the type float, null given, called in phar:///home/minecraft/plugins/Mockingbird_dev-406.phar/src/ethaniccc/Mockingbird/utils/boundingbox/AABB.php on line 34" (EXCEPTION) in "plugins/Mockingbird_dev-406.phar/src/ethaniccc/Mockingbird/utils/boundingbox/AABB" at line 16

[15:50:17] [Server thread/CRITICAL]: #0 plugins/Mockingbird_dev-406.phar/src/ethaniccc/Mockingbird/utils/boundingbox/AABB(34): ethaniccc\Mockingbird\utils\boundingbox\AABB->__construct(double -0.3, NULL , double -0.3, double 0.3, double 1.8, double 0.3)

[15:50:17] [Server thread/CRITICAL]: #1 plugins/Mockingbird_dev-406.phar/src/ethaniccc/Mockingbird/processing/HitProcessor(37): ethaniccc\Mockingbird\utils\boundingbox\AABB::fromPosition(object pocketmine\level\Location)

This issue should be fixed in the latest commit on the v2 branch