From ad281af830369f4cc2127c07012b67bad9e85257 Mon Sep 17 00:00:00 2001 From: Tnze Date: Wed, 8 Dec 2021 11:20:28 +0800 Subject: [PATCH] fix index problem in README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 373a49e..f7b6ece 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,11 @@ a [Handshake Packet](https://wiki.vg/Protocol#Handshake). You can create this pa ```go p := pk.Marshal( -0x00, // Handshake packet ID -pk.VarInt(ProtocolVersion), // Protocol version -pk.String("localhost"), // Server's address -pk.UnsignedShort(25565), // Server's port -pk.Byte(1), // 1 for status ping, 2 for login + 0x00, // Handshake packet ID + pk.VarInt(ProtocolVersion), // Protocol version + pk.String("localhost"), // Server's address + pk.UnsignedShort(25565), // Server's port + pk.Byte(1), // 1 for status ping, 2 for login ) ```