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