mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 09:10:00 +00:00
hmm
This commit is contained in:
parent
f5eed4f12b
commit
ca1b67a675
@ -791,7 +791,7 @@ abstract class Entity extends Position implements Metadatable{
|
|||||||
$dz = 0;
|
$dz = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$fallingFlag = ($this->onGround or $dy != $movY and $movY < 0);
|
$fallingFlag = ($this->onGround or ($dy != $movY and $movY < 0));
|
||||||
|
|
||||||
foreach($list as $bb){
|
foreach($list as $bb){
|
||||||
$dx = $bb->calculateXOffset($this->boundingBox, $dx);
|
$dx = $bb->calculateXOffset($this->boundingBox, $dx);
|
||||||
@ -884,7 +884,6 @@ abstract class Entity extends Position implements Metadatable{
|
|||||||
$this->boundingBox->setBB($axisalignedbb1);
|
$this->boundingBox->setBB($axisalignedbb1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$pos = new Vector3(
|
$pos = new Vector3(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user