mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Structures...
This commit is contained in:
parent
82b6eb382d
commit
8a26a4d858
2 changed files with 18 additions and 13 deletions
|
|
@ -129,17 +129,6 @@ class PocketMinecraftClient{
|
|||
$this->send(0xc0, array(1, true, $data[0]));
|
||||
}
|
||||
switch($data["id"]){
|
||||
case 0x00:
|
||||
$this->send(0x84, array(
|
||||
$this->counter[0],
|
||||
0x00,
|
||||
array(
|
||||
"id" => 0x00,
|
||||
"payload" => $data["payload"],
|
||||
),
|
||||
));
|
||||
++$this->counter[0];
|
||||
break;
|
||||
case 0x10:
|
||||
$this->send(0x84, array(
|
||||
$this->counter[0],
|
||||
|
|
@ -161,6 +150,15 @@ class PocketMinecraftClient{
|
|||
),
|
||||
));
|
||||
++$this->counter[0];
|
||||
$this->send(0x84, array(
|
||||
$this->counter[0],
|
||||
0x00,
|
||||
array(
|
||||
"id" => 0xb1,
|
||||
"message" => $this->username,
|
||||
),
|
||||
));
|
||||
++$this->counter[0];
|
||||
break;
|
||||
case 0x86:
|
||||
console("[DEBUG] Time: ".$data["time"], true, true, 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue