mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed a few missing methods due to multiworld conversion
This commit is contained in:
parent
7bbda6dd67
commit
4678b57c75
3 changed files with 5 additions and 5 deletions
|
|
@ -123,7 +123,7 @@ class TimeAPI{
|
|||
}
|
||||
|
||||
public function set($time, $level = false){
|
||||
if(($level instanceof Level)){
|
||||
if(!($level instanceof Level)){
|
||||
$level = $this->server->api->level->getDefault();
|
||||
}
|
||||
if(is_string($time) and isset($this->phases[$time])){
|
||||
|
|
@ -135,4 +135,4 @@ class TimeAPI{
|
|||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue