Revert "Revert "Life is unfair""

This reverts commit 678d89adc6.
This commit is contained in:
kotyaralih 2021-12-28 09:32:17 -08:00
parent b9abdb69e6
commit 909db6d7eb

View file

@ -196,7 +196,7 @@ class LevelAPI{
$timeu = microtime(true);
foreach($blockUpdates->getAll() as $bupdate){
$this->server->api->block->scheduleBlockUpdate(new Position((int) $bupdate["x"],(int) $bupdate["y"],(int) $bupdate["z"], $this->levels["name"]), (float) $bupdate["delay"], (int) $bupdate["type"]);
$this->server->api->block->scheduleBlockUpdate(new Position((int) $bupdate["x"],(int) $bupdate["y"],(int) $bupdate["z"], $this->levels[$name]), (float) $bupdate["delay"], (int) $bupdate["type"]);
}
return true;
}