mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Merge branch 'master' into masteruwu
This commit is contained in:
commit
b5f11e5a10
2 changed files with 1145 additions and 4 deletions
1146
src/Player.php
1146
src/Player.php
File diff suppressed because it is too large
Load diff
|
|
@ -618,6 +618,9 @@ class PocketMinecraftServer{
|
||||||
|
|
||||||
foreach($this->clients as $client){
|
foreach($this->clients as $client){
|
||||||
$client->handlePacketQueues();
|
$client->handlePacketQueues();
|
||||||
|
if($this->ticks % 40 == 0){ //2s
|
||||||
|
$client->sendPing();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($this->api->level->levels as $l){
|
foreach($this->api->level->levels as $l){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue