mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Vine: fixed north check being missing
This commit is contained in:
@ -110,7 +110,15 @@ class Vine extends Flowable{
|
||||
$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()){
|
||||
$minY = min($minY, 0.9375);
|
||||
|
Reference in New Issue
Block a user