mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
#1745 part 2!
This commit is contained in:
parent
97af1b6008
commit
ccf34a9db8
@ -812,8 +812,8 @@ class Level implements ChunkManager, Metadatable{
|
||||
if($level instanceof Level) {
|
||||
$above = $level->getBlock(new Vector3($target->x, $target->y + 1, $target->z));
|
||||
if($above instanceof Block) {
|
||||
if($above->getID() === pocketmine\block::FIRE) {
|
||||
$level->setBlock($above, new pocketmine\block\AIR(), true, false, true);
|
||||
if($above->getID() === \pocketmine\block::FIRE) {
|
||||
$level->setBlock($above, new \pocketmine\block::AIR(), true, false, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user