Increased Fence, Fence Gate and Stone Wall Y bounding box

This commit is contained in:
Shoghi Cervantes 2014-11-22 13:44:05 +01:00
parent 8249cac592
commit 545f68382c
3 changed files with 4 additions and 7 deletions

View File

@ -47,7 +47,7 @@ class Fence extends Transparent{
$this->y,
$this->z + $f2,
$this->x + $f1,
$this->y + 1,
$this->y + 1.5,
$this->z + $f3
);
}

View File

@ -51,7 +51,7 @@ class FenceGate extends Transparent{
$this->y,
$this->z + 0.375,
$this->x + 1,
$this->y + 1,
$this->y + 1.5,
$this->z + 0.625
);
}else{
@ -60,7 +60,7 @@ class FenceGate extends Transparent{
$this->y,
$this->z,
$this->x + 0.625,
$this->y + 1,
$this->y + 1.5,
$this->z + 1
);
}

View File

@ -47,14 +47,11 @@ class StoneWall extends Transparent{
$f1 = $flag3 ? 1 : 0.75;
$f2 = $flag ? 0 : 0.25;
$f3 = $flag1 ? 1 : 0.75;
$f4 = 1;
if($flag and $flag1 and !$flag2 and !$flag3){
$f4 = 0.8125;
$f = 0.3125;
$f1 = 0.6875;
}elseif(!$flag and !$flag1 and $flag2 and $flag3){
$f4 = 0.8125;
$f2 = 0.3125;
$f3 = 0.6875;
}
@ -64,7 +61,7 @@ class StoneWall extends Transparent{
$this->y,
$this->z + $f2,
$this->x + $f1,
$this->y + $f4,
$this->y + 1.5,
$this->z + $f3
);
}