Fixed build failure

This commit is contained in:
Dylan K. Taylor 2022-04-25 12:56:16 +01:00
parent 9f5d4180c9
commit 09778e3f1b
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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){