Revert "Proper Fire ID checking. Fix #1756."

This reverts commit cd943f52a1587ae509d918e612f601126970fce3.
This commit is contained in:
williamtdr 2014-07-23 09:08:18 -05:00
parent cd943f52a1
commit 2066e92f84

View File

@ -813,7 +813,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() === new Fire()->getID()) {
if($above->getID() === new Fire()) {
$level->setBlock($above, new Air(), true, false, true);
}
}