diff --git a/src/pocketmine/network/mcpe/RakLibInterface.php b/src/pocketmine/network/mcpe/RakLibInterface.php index 7ca6b0b62..62fc416f2 100644 --- a/src/pocketmine/network/mcpe/RakLibInterface.php +++ b/src/pocketmine/network/mcpe/RakLibInterface.php @@ -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){