mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Updated Math dependency
This commit is contained in:
@ -185,7 +185,7 @@ abstract class Projectile extends Entity{
|
||||
continue;
|
||||
}
|
||||
|
||||
$entityBB = $entity->boundingBox->grow(0.3, 0.3, 0.3);
|
||||
$entityBB = $entity->boundingBox->expandedCopy(0.3, 0.3, 0.3);
|
||||
$entityHitResult = $entityBB->calculateIntercept($start, $end);
|
||||
|
||||
if($entityHitResult === null){
|
||||
|
Reference in New Issue
Block a user