mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Register MainLogger as SPL global, remove hard MainLogger dependency from many areas, break a bunch of cyclic dependencies
This commit is contained in:
@ -525,7 +525,7 @@ class Config{
|
||||
break;
|
||||
}
|
||||
if(isset($this->config[$k])){
|
||||
MainLogger::getLogger()->debug("[Config] Repeated property " . $k . " on file " . $this->file);
|
||||
\GlobalLogger::get()->debug("[Config] Repeated property " . $k . " on file " . $this->file);
|
||||
}
|
||||
$this->config[$k] = $v;
|
||||
}
|
||||
|
Reference in New Issue
Block a user