diff --git a/src/pocketmine/block/CobblestoneWall.php b/src/pocketmine/block/CobblestoneWall.php index 98f9c51ff0..68b8175cee 100644 --- a/src/pocketmine/block/CobblestoneWall.php +++ b/src/pocketmine/block/CobblestoneWall.php @@ -111,6 +111,11 @@ class CobblestoneWall extends Transparent{ ); } + /** + * @param Block $block + * + * @return bool + */ public function canConnect(Block $block){ return $block instanceof static or $block instanceof FenceGate or ($block->isSolid() and !$block->isTransparent()); }