From 481d6b7f4da47e6c68f8f0a6d47bfeb0119f5c30 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 6 Apr 2025 19:17:27 +0100 Subject: [PATCH] Revert "Remove dodgy code" This reverts commit 76528b20c11ffcc487ce7be6896fd4e98ccc9e9e. --- src/block/Campfire.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/block/Campfire.php b/src/block/Campfire.php index b85f6d030..ce4c5f107 100644 --- a/src/block/Campfire.php +++ b/src/block/Campfire.php @@ -267,6 +267,9 @@ class Campfire extends Transparent{ //TODO: we probably need to rethink how these are tracked $tile->setCookingTimes($this->cookingTimes); } + if(count($items) > 0){ + $this->position->getWorld()->setBlock($this->position, $this); + } if(mt_rand(1, 6) === 1){ $this->position->getWorld()->addSound($this->position, $furnaceType->getCookSound()); }