mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Fixed level event duplication on some cases
This commit is contained in:
parent
a5bc95e733
commit
fbf897d1be
1 changed files with 3 additions and 0 deletions
|
|
@ -68,6 +68,9 @@ class Level{
|
|||
}
|
||||
|
||||
public function checkThings(){
|
||||
if(!isset($this->level){
|
||||
return false;
|
||||
}
|
||||
$this->players = $this->server->api->player->getAll($this);
|
||||
$now = microtime(true);
|
||||
$time = $this->startTime + ($now - $this->startCheck) * 20;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue