mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed build failure
This commit is contained in:
parent
9f5d4180c9
commit
09778e3f1b
@ -152,7 +152,7 @@ class Block{
|
|||||||
$oldTile->close();
|
$oldTile->close();
|
||||||
$oldTile = null;
|
$oldTile = null;
|
||||||
}elseif($oldTile instanceof Spawnable){
|
}elseif($oldTile instanceof Spawnable){
|
||||||
$oldTile->setDirty(); //destroy old network cache
|
$oldTile->clearSpawnCompoundCache(); //destroy old network cache
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($oldTile === null && $tileType !== null){
|
if($oldTile === null && $tileType !== null){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user