Removed redundant condition

This commit is contained in:
Dylan K. Taylor 2017-08-27 19:44:40 +01:00
parent f2402f2122
commit 8b3fad8a7b

View File

@ -1623,10 +1623,8 @@ class Level implements ChunkManager, Metadatable{
}
$above = $this->getBlock(new Vector3($target->x, $target->y + 1, $target->z));
if($above !== null){
if($above->getId() === Item::FIRE){
$this->setBlock($above, BlockFactory::get(Block::AIR), true);
}
if($above->getId() === Item::FIRE){
$this->setBlock($above, BlockFactory::get(Block::AIR), true);
}
if($createParticles){