mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Buffered block changes and sending big changes with Chunk Packets
This commit is contained in:
parent
10ed95a469
commit
68855bdd4f
4 changed files with 68 additions and 23 deletions
|
|
@ -52,6 +52,9 @@ class CustomPacketHandler{
|
|||
$this->data = $data;
|
||||
$this->offset = 0;
|
||||
$this->c = (bool) $create;
|
||||
if($pid === false){
|
||||
return;
|
||||
}
|
||||
switch($pid){
|
||||
case MC_PING:
|
||||
if($this->c === false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue