Fixed Level::setBlock() old calls

This commit is contained in:
Shoghi Cervantes
2014-09-05 10:59:23 +02:00
parent d3c308c5a8
commit ac4b4b08fd
42 changed files with 106 additions and 106 deletions

View File

@@ -1011,7 +1011,7 @@ class Level implements ChunkManager, Metadatable{
$above = $level->getBlock(new Vector3($target->x, $target->y + 1, $target->z));
if($above instanceof Block){
if($above->getID() === Item::FIRE){
$level->setBlock($above, new Air(), true, false, true);
$level->setBlock($above, new Air(), true);
}
}
}
@@ -1107,7 +1107,7 @@ class Level implements ChunkManager, Metadatable{
$hand = $item->getBlock();
$hand->position($block);
}elseif($block->getID() === Item::FIRE){
$this->setBlock($block, new Air(), true, false, true);
$this->setBlock($block, new Air(), true);
return false;
}else{