mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Changed @williamtdr syntax
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user