mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 04:05:31 +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": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/pmmp/RakLib.git",
|
"url": "https://github.com/pmmp/RakLib.git",
|
||||||
"reference": "a40cf8a90c3081166b555826bc1def8a7a5c5cb9"
|
"reference": "4272f15bc47941b59e1d597ca544465f4a59725e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/pmmp/RakLib/zipball/a40cf8a90c3081166b555826bc1def8a7a5c5cb9",
|
"url": "https://api.github.com/repos/pmmp/RakLib/zipball/4272f15bc47941b59e1d597ca544465f4a59725e",
|
||||||
"reference": "a40cf8a90c3081166b555826bc1def8a7a5c5cb9",
|
"reference": "4272f15bc47941b59e1d597ca544465f4a59725e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -654,7 +654,7 @@
|
|||||||
"pocketmine/log": "dev-master"
|
"pocketmine/log": "dev-master"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpstan/phpstan": "0.12.40",
|
"phpstan/phpstan": "0.12.59",
|
||||||
"phpstan/phpstan-strict-rules": "^0.12.2"
|
"phpstan/phpstan-strict-rules": "^0.12.2"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
@ -672,7 +672,7 @@
|
|||||||
"issues": "https://github.com/pmmp/RakLib/issues",
|
"issues": "https://github.com/pmmp/RakLib/issues",
|
||||||
"source": "https://github.com/pmmp/RakLib/tree/master"
|
"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",
|
"name": "pocketmine/snooze",
|
||||||
|
@ -155,7 +155,6 @@ class RakLibInterface implements ServerEventListener, AdvancedNetworkInterface{
|
|||||||
|
|
||||||
public function shutdown() : void{
|
public function shutdown() : void{
|
||||||
$this->server->getTickSleeper()->removeNotifier($this->sleeper);
|
$this->server->getTickSleeper()->removeNotifier($this->sleeper);
|
||||||
$this->interface->shutdown();
|
|
||||||
$this->rakLib->quit();
|
$this->rakLib->quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,7 +164,10 @@ class RakLibServer extends Thread{
|
|||||||
$this->ready = true;
|
$this->ready = true;
|
||||||
$this->notify();
|
$this->notify();
|
||||||
});
|
});
|
||||||
$manager->run();
|
while(!$this->isKilled){
|
||||||
|
$manager->tickProcessor();
|
||||||
|
}
|
||||||
|
$manager->waitShutdown();
|
||||||
$this->cleanShutdown = true;
|
$this->cleanShutdown = true;
|
||||||
}catch(\Throwable $e){
|
}catch(\Throwable $e){
|
||||||
$this->setCrashInfo($e->getMessage());
|
$this->setCrashInfo($e->getMessage());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user