mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed tickerfunction and queue after rollback
This commit is contained in:
parent
5a059eab71
commit
c3e6554762
2 changed files with 3 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ class PocketMinecraftServer{
|
|||
++$actionCount;
|
||||
try{
|
||||
$return = @call_user_func($this->schedule[$cid][0] ?? function(){}, $this->schedule[$cid][1], $this->schedule[$cid][2]); //somehow args can be null
|
||||
}catch(ValueError $e){
|
||||
}catch(Throwable $e){
|
||||
$return = false;
|
||||
}
|
||||
}else{
|
||||
|
|
|
|||
|
|
@ -385,6 +385,8 @@ class Level{
|
|||
}
|
||||
$player->sendBlockUpdateQueue();
|
||||
}
|
||||
|
||||
$this->queuedBlockUpdates = [];
|
||||
}
|
||||
|
||||
public function addBlockToSendQueue($x, $y, $z, $id, $meta){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue