mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Vine: fixed north check being missing
This commit is contained in:
parent
932705e114
commit
54e19a6d2f
@ -110,7 +110,15 @@ class Vine extends Flowable{
|
|||||||
$flag = true;
|
$flag = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Missing NORTH check
|
if(($this->meta & self::FLAG_NORTH) > 0){
|
||||||
|
$maxZ = max($maxZ, 0.0625);
|
||||||
|
$minZ = 0;
|
||||||
|
$minX = 0;
|
||||||
|
$maxX = 1;
|
||||||
|
$minY = 0;
|
||||||
|
$maxY = 1;
|
||||||
|
$flag = true;
|
||||||
|
}
|
||||||
|
|
||||||
if(!$flag and $this->getSide(Facing::UP)->isSolid()){
|
if(!$flag and $this->getSide(Facing::UP)->isSolid()){
|
||||||
$minY = min($minY, 0.9375);
|
$minY = min($minY, 0.9375);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user