mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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);
|
||||
if($block->getId() === Block::FIRE){
|
||||
$this->level->setBlock($block, new Air());
|
||||
break;
|
||||
}
|
||||
$this->lastBreak = microtime(true);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user