This commit is contained in:
williamtdr 2014-07-21 15:29:40 -05:00
parent 97af1b6008
commit ccf34a9db8

View File

@ -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);
}
}
}