mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
Fixed physics BoundingBox
This commit is contained in:
parent
6b361389ad
commit
25ecdcf6e2
@ -779,10 +779,10 @@ abstract class Entity extends Position implements Metadatable{
|
||||
$this->motionZ = 0;
|
||||
}
|
||||
|
||||
//$this->boundingBox->addCoord($dx, $dy, $dz);
|
||||
//$this->x += $dx;
|
||||
//$this->y += $dy;
|
||||
//$this->z += $dz;
|
||||
$this->boundingBox->addCoord($dx, $dy, $dz);
|
||||
$this->x += $dx;
|
||||
$this->y += $dy;
|
||||
$this->z += $dz;
|
||||
|
||||
$cx = $this->x - $ox;
|
||||
$cy = $this->y - $oy;
|
||||
|
Loading…
x
Reference in New Issue
Block a user