mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Block creating and property handling rewrite, part2
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user