This commit is contained in:
williamtdr 2014-07-21 13:02:24 -05:00
parent 16d33b01f4
commit 97af1b6008

View File

@ -812,7 +812,7 @@ 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) {
if($above->getID() === pocketmine\block::FIRE) {
$level->setBlock($above, new pocketmine\block\AIR(), true, false, true);
}
}