mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 09:26:06 +00:00
Cleaned up some bad code in DataPacket, added encode/decodeHeader and made encode/decodePayload protected
This commit is contained in:
@ -35,11 +35,11 @@ class ClientToServerHandshakePacket extends DataPacket{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function decodePayload(){
|
||||
protected function decodePayload(){
|
||||
//No payload
|
||||
}
|
||||
|
||||
public function encodePayload(){
|
||||
protected function encodePayload(){
|
||||
//No payload
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user