mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 20:24:29 +00:00
Remove dodgy code
This commit is contained in:
parent
4850bd5538
commit
76528b20c1
@ -273,9 +273,6 @@ 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