Changed @williamtdr syntax

This commit is contained in:
Shoghi Cervantes
2014-07-30 16:05:36 +02:00
parent f5fee4c909
commit a9cd03da2e
3 changed files with 4 additions and 5 deletions

View File

@ -814,10 +814,10 @@ class Level implements ChunkManager, Metadatable{
$level = $target->getLevel();
if($level instanceof Level) {
if($level instanceof Level){
$above = $level->getBlock(new Vector3($target->x, $target->y + 1, $target->z));
if($above instanceof Block) {
if($above->getID() === Item::FIRE) {
if($above instanceof Block){
if($above->getID() === Item::FIRE){
$level->setBlock($above, new Air(), true, false, true);
}
}