Patchouli (Fabric/Quilt)

Patchouli (Fabric/Quilt)

25M Downloads

[Fabric/1.15.2] Packet handling failure on dedicated servers

LemmaEOF opened this issue ยท 1 comments

commented

When attempting to open a Patchouli book on a dedicated server, the packet will fail to handle properly and the book will not open. The cause is java.lang.IndexOutOfBoundsException: readerIndex(26) + length(1) exceeds writerIndex(26): PooledUnsafeDirectByteBuf(ridx: 26, widx: 26, cap: 26)

To reproduce:

  1. join a dedicated server that has Patchouli books.
  2. obtain a Patchouli book and attempt to open it.
  3. The book-open sound effect will play but the gui will not open. The error linked below will be output to the console.

error log

commented

Looks like this may be due to the server and client having different versions. Shouldn't have happened but it doesn't seem like a code-side issue.