mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Revert "Proper Fire ID checking. Fix #1756."
This reverts commit cd943f52a1587ae509d918e612f601126970fce3.
This commit is contained in:
parent
cd943f52a1
commit
2066e92f84
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user