From b45d2ea2b04bdfe10c1c807696dff39846739b84 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Tue, 10 May 2022 22:01:42 +0300 Subject: [PATCH] torch can be placed on stone wall now(works on vanilla too) --- src/material/block/attachable/Torch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/material/block/attachable/Torch.php b/src/material/block/attachable/Torch.php index 25c51e39..c9594da2 100644 --- a/src/material/block/attachable/Torch.php +++ b/src/material/block/attachable/Torch.php @@ -59,7 +59,7 @@ class TorchBlock extends FlowableBlock{ $this->meta = $faces[$face]; $this->level->setBlock($block, $this, true, false, true); return true; - }elseif($this->getSide(0)->isTransparent === false or $this->getSide(0)->getID() === FENCE){ + }elseif($this->getSide(0)->isTransparent === false or $this->getSide(0)->getID() === FENCE or $this->getSide(0)->getID() === STONE_WALL){ $this->meta = 0; $this->level->setBlock($block, $this, true, false, true); return true;