Added soul fire

This commit is contained in:
Dylan K. Taylor
2022-07-04 22:31:59 +01:00
parent 4909c0f257
commit d9544b5d0e
10 changed files with 128 additions and 41 deletions

View File

@ -1613,7 +1613,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
}
$block = $target->getSide($face);
if($block->getTypeId() === BlockTypeIds::FIRE){
if($block->getTypeId() === BlockTypeIds::FIRE || $block->getTypeId() === BlockTypeIds::SOUL_FIRE){
$this->getWorld()->setBlock($block->getPosition(), VanillaBlocks::AIR());
$this->getWorld()->addSound($block->getPosition()->add(0.5, 0.5, 0.5), new FireExtinguishSound());
return true;