mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-19 15:35:52 +00:00
Revert "Remove dodgy code"
This reverts commit 76528b20c11ffcc487ce7be6896fd4e98ccc9e9e.
This commit is contained in:
parent
395157c70a
commit
481d6b7f4d
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user