mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Workaround for grass-path/farmland anti-flight issue, close #1170
This commit is contained in:
parent
be7e97e0bb
commit
f2467d3dbc
@ -53,7 +53,7 @@ class Farmland extends Transparent{
|
|||||||
$this->y,
|
$this->y,
|
||||||
$this->z,
|
$this->z,
|
||||||
$this->x + 1,
|
$this->x + 1,
|
||||||
$this->y + 0.9375,
|
$this->y + 1, //TODO: this should be 0.9375, but MCPE currently treats them as a full block (https://bugs.mojang.com/browse/MCPE-12109)
|
||||||
$this->z + 1
|
$this->z + 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ class GrassPath extends Transparent{
|
|||||||
$this->y,
|
$this->y,
|
||||||
$this->z,
|
$this->z,
|
||||||
$this->x + 1,
|
$this->x + 1,
|
||||||
$this->y + 0.9375,
|
$this->y + 1, //TODO: this should be 0.9375, but MCPE currently treats them as a full block (https://bugs.mojang.com/browse/MCPE-12109)
|
||||||
$this->z + 1
|
$this->z + 1
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user