Fix auto respawn bug in MCPE 0.3.2 - 0.5.0

This commit is contained in:
yefengeeeeeeeeeee 2025-04-12 19:13:36 +08:00
parent 7c8f32d100
commit 2712adc29f
9 changed files with 70 additions and 19 deletions

View file

@ -1712,7 +1712,9 @@ class Player{
return;
}
switch ($packet->pid()) {
$internalPid = $packet->getInternalPid();
switch ($internalPid) {
case 0x01:
break;
case ProtocolInfo::PONG_PACKET: