21d95e3

Branches > main > 21d95e3 > files

comment

Grahp, 2026-03-08

Commit: 21d95e382c04c4ab9386a04eec5d801cd2b7442d
Parent: e863f00

1 changed file:

src/net/bowmap/packet/client.clj modified (view file)

@@ -105,6 +105,7 @@                      (write/write-varint! id)                      (encoder pk))]     ;; This buffer only contains the data + a varint, which can never be larger than 5 bytes+    ;; TODO apparently there's a 'CompositeByteBuf' for this very purpose :p     (-> (Unpooled/buffer (+ (ByteBuf/.writerIndex data-buf) 5))         (write/write-varint! (ByteBuf/.writerIndex data-buf))         (ByteBuf/.writeBytes data-buf))))