update docs lol
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0) (push) Successful in 1m3s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0) (push) Successful in 1m3s
This commit is contained in:
parent
9250a6514a
commit
dea3227a05
@ -63,7 +63,7 @@ public final class BedrockPacketUnconnectedPong implements MinecraftBedrockPacke
|
||||
DatagramPacket receivePacket = new DatagramPacket(receiveData, receiveData.length);
|
||||
socket.receive(receivePacket);
|
||||
|
||||
// Construct a bugger from the received packet
|
||||
// Construct a buffer from the received packet
|
||||
ByteBuffer buffer = ByteBuffer.wrap(receivePacket.getData()).order(ByteOrder.LITTLE_ENDIAN);
|
||||
byte id = buffer.get(); // The received packet id
|
||||
if (id == ID) {
|
||||
|
Loading…
Reference in New Issue
Block a user