mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 12:27:51 +00:00
Fixed clicking on fire to extinguish it (#132)
This commit is contained in:
parent
d6629d6843
commit
756760a2f0
@ -2107,6 +2107,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
$block = $target->getSide($packet->face);
|
$block = $target->getSide($packet->face);
|
||||||
if($block->getId() === Block::FIRE){
|
if($block->getId() === Block::FIRE){
|
||||||
$this->level->setBlock($block, new Air());
|
$this->level->setBlock($block, new Air());
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
$this->lastBreak = microtime(true);
|
$this->lastBreak = microtime(true);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user