mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 19:55:33 +00:00
Updated to newest RakLib
This commit is contained in:
parent
3e0cf30285
commit
f81d061ea9
10
composer.lock
generated
10
composer.lock
generated
@ -637,12 +637,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pmmp/RakLib.git",
|
||||
"reference": "a40cf8a90c3081166b555826bc1def8a7a5c5cb9"
|
||||
"reference": "4272f15bc47941b59e1d597ca544465f4a59725e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/pmmp/RakLib/zipball/a40cf8a90c3081166b555826bc1def8a7a5c5cb9",
|
||||
"reference": "a40cf8a90c3081166b555826bc1def8a7a5c5cb9",
|
||||
"url": "https://api.github.com/repos/pmmp/RakLib/zipball/4272f15bc47941b59e1d597ca544465f4a59725e",
|
||||
"reference": "4272f15bc47941b59e1d597ca544465f4a59725e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -654,7 +654,7 @@
|
||||
"pocketmine/log": "dev-master"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan/phpstan": "0.12.40",
|
||||
"phpstan/phpstan": "0.12.59",
|
||||
"phpstan/phpstan-strict-rules": "^0.12.2"
|
||||
},
|
||||
"type": "library",
|
||||
@ -672,7 +672,7 @@
|
||||
"issues": "https://github.com/pmmp/RakLib/issues",
|
||||
"source": "https://github.com/pmmp/RakLib/tree/master"
|
||||
},
|
||||
"time": "2020-08-28T22:11:37+00:00"
|
||||
"time": "2020-12-12T02:09:57+00:00"
|
||||
},
|
||||
{
|
||||
"name": "pocketmine/snooze",
|
||||
|
@ -155,7 +155,6 @@ class RakLibInterface implements ServerEventListener, AdvancedNetworkInterface{
|
||||
|
||||
public function shutdown() : void{
|
||||
$this->server->getTickSleeper()->removeNotifier($this->sleeper);
|
||||
$this->interface->shutdown();
|
||||
$this->rakLib->quit();
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,10 @@ class RakLibServer extends Thread{
|
||||
$this->ready = true;
|
||||
$this->notify();
|
||||
});
|
||||
$manager->run();
|
||||
while(!$this->isKilled){
|
||||
$manager->tickProcessor();
|
||||
}
|
||||
$manager->waitShutdown();
|
||||
$this->cleanShutdown = true;
|
||||
}catch(\Throwable $e){
|
||||
$this->setCrashInfo($e->getMessage());
|
||||
|
Loading…
x
Reference in New Issue
Block a user