From 2ac51710cb9ce797a0e228cc3c79404d203c3885 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Sat, 28 May 2022 14:22:48 +0300 Subject: [PATCH] dumbherobrine forgot to remove debug stuff --- src/material/block/solid/Leaves.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/material/block/solid/Leaves.php b/src/material/block/solid/Leaves.php index e8bf1fdd..b4c2f178 100644 --- a/src/material/block/solid/Leaves.php +++ b/src/material/block/solid/Leaves.php @@ -45,21 +45,17 @@ class LeavesBlock extends TransparentBlock{ $visited[$index] = true; $block = $this->level->getBlock($pos); - console($block); if($block instanceof WoodBlock){ //type doesn't matter - console("true"); return true; } if($block->getId() === $this->getId() && $distance <= 4){ foreach(array(2,3,4,5) as $side){ if($this->findLog($pos->getSide($side), $visited, $distance + 1)){ //recursion i guess? - console("true"); return true; } } } - console("false"); return false; }