Trying update core to PHP 7.4.21

This commit is contained in:
ArkQuark 2022-06-16 16:47:49 +03:00
parent e74e6c3f77
commit 1a884f6d2a
12 changed files with 80 additions and 79 deletions

View file

@ -28,7 +28,7 @@ class QueryPacket extends Packet{
public $payload;
public function decode(){
$this->packetType = ord($this->buffer{2});
$this->packetType = ord($this->buffer[2]);
$this->sessionID = Utils::readInt(substr($this->buffer, 3, 4));
$this->payload = substr($this->buffer, 7);
}