mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Removed old trigger_error()
This commit is contained in:
parent
44a30b7fac
commit
69ab0d433b
@ -1573,7 +1573,7 @@ class Server{
|
|||||||
if($this->getDefaultLevel() === null){
|
if($this->getDefaultLevel() === null){
|
||||||
$default = $this->getConfigString("level-name", "world");
|
$default = $this->getConfigString("level-name", "world");
|
||||||
if(trim($default) == ""){
|
if(trim($default) == ""){
|
||||||
trigger_error("level-name cannot be null, using default", E_USER_WARNING);
|
$this->getLogger()->warning("level-name cannot be null, using default");
|
||||||
$default = "world";
|
$default = "world";
|
||||||
$this->setConfigString("level-name", "world");
|
$this->setConfigString("level-name", "world");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user