Workaround for grass-path/farmland anti-flight issue, close #1170

This commit is contained in:
Dylan K. Taylor 2017-07-11 10:37:01 +01:00
parent be7e97e0bb
commit f2467d3dbc
2 changed files with 2 additions and 2 deletions

View File

@ -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
); );
} }

View File

@ -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
); );
} }