mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Allow RakLibServer to inherit constants (PATH const is needed for exception logging)
this is very annoying and needs a better fix.
This commit is contained in:
parent
c3822b795c
commit
68ef4b210d
@ -92,7 +92,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
}
|
||||
|
||||
public function start(){
|
||||
$this->rakLib->start(PTHREADS_INHERIT_NONE);
|
||||
$this->rakLib->start(PTHREADS_INHERIT_CONSTANTS); //HACK: constants needed for cleanPath() in case of exception logging on MainLogger
|
||||
}
|
||||
|
||||
public function setNetwork(Network $network){
|
||||
|
Loading…
x
Reference in New Issue
Block a user