Block creating and property handling rewrite, part2

This commit is contained in:
Shoghi Cervantes
2014-12-07 02:20:26 +01:00
parent a0d4bff385
commit af82d616c1
31 changed files with 45 additions and 46 deletions

View File

@ -97,7 +97,7 @@ class Vine extends Transparent{
$flag = true;
}
if(!$flag and $this->getSide(1)->isSolid){
if(!$flag and $this->getSide(1)->isSolid()){
$f2 = min($f2, 0.9375);
$f5 = 1;
$f1 = 0;
@ -118,7 +118,7 @@ class Vine extends Transparent{
public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null){
if($target->isSolid){
if($target->isSolid()){
$faces = [
0 => 0,
1 => 0,