mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Make MainLogger independent of runtime-defined INI entries
Previously every thread using the logger had to inherit runtime-defined INI entries in order for the timezone to be set correctly. This removes that requirement.
This commit is contained in:
@ -68,7 +68,7 @@ class RCONInstance extends Thread{
|
||||
$this->ipcSocket = $ipcSocket;
|
||||
$this->notifier = $notifier;
|
||||
|
||||
$this->start(PTHREADS_INHERIT_INI); //HACK: need INI for timezone (logger)
|
||||
$this->start(PTHREADS_INHERIT_NONE);
|
||||
}
|
||||
|
||||
private function writePacket($client, int $requestID, int $packetType, string $payload){
|
||||
|
Reference in New Issue
Block a user