mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Multiple fixes
This commit is contained in:
@ -149,7 +149,9 @@ class RakLibInterface implements ServerInstance, SourceInterface{
|
||||
|
||||
public function handleEncapsulated($identifier, EncapsulatedPacket $packet, $flags){
|
||||
if(isset($this->players[$identifier])){
|
||||
$this->players[$identifier]->handleDataPacket($this->getPacket($packet->buffer));
|
||||
$pk = $this->getPacket($packet->buffer);
|
||||
$pk->decode();
|
||||
$this->players[$identifier]->handleDataPacket($pk);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user