mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Removed redundant condition
This commit is contained in:
parent
f2402f2122
commit
8b3fad8a7b
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user