mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +00:00
RCON: register autoloader on RCON threads
fixes #1993 Interesting that this bug was never noticed before. Maybe because of the class getting loaded by PocketMine.php previously.
This commit is contained in:
parent
bf3f5532ac
commit
a52a2f6d26
@ -95,7 +95,7 @@ class RCONInstance extends Thread{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function run(){
|
public function run(){
|
||||||
|
$this->registerClassLoader();
|
||||||
while($this->stop !== true){
|
while($this->stop !== true){
|
||||||
$this->synchronized(function(){
|
$this->synchronized(function(){
|
||||||
$this->wait(2000);
|
$this->wait(2000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user