Fixed clicking on fire to extinguish it (#132)

This commit is contained in:
Dylan K. Taylor 2016-11-30 15:27:14 +00:00 committed by GitHub
parent d6629d6843
commit 756760a2f0

View File

@ -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;