Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Update SFT for latest ProtocolLib #76

@wickidcow

Description

@wickidcow

Checklist

  • You are using official version downloaded from Blob Builds (blob.build) or Guizhan Builds (builds.guizhanss.com)
  • You have verified the checksum of the downloaded file to ensure it is complete (only for Guizhan Builds)
  • You did not modify the jar file
  • You searched existing issues, and could not find any existing bug report on this

Description

Upon moving anything in or around inventory an Unhandled exception error occurs on PacketEvent for Slimefun Translation. This occured with latest update of ProtocolLib.jar v749 and above. Players will randomly get kicked from server with the error io.netty.channel exception. No particular item causes it just random.

[SlimefunTranslation] Unhandled exception occurred in onPacketReceiving(PacketEvent) for SlimefunTranslation
com.comphenix.protocol.reflect.FieldAccessException: Field index 0 is out of bounds for length 0
at ProtocolLib.jar/com.comphenix.protocol.reflect.FieldAccessException.fromFormat(FieldAccessException.java:49) ~[ProtocolLib.jar:?]
at ProtocolLib.jar/com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:247) ~[ProtocolLib.jar:?]

Otherwise please delete this if im the only person with this issue. ive tried blob builds versions, github and ghuizan versions of SFT and they do the same thing with latest updates

Reproduction Steps

Install Final Paper 1.21.5+ version. (does same on 1.21.7 also)
install Slimefun
install SFT
install latest Protocol Lib version

Otherwise plugin entirely works, just with interacting with inventory

Expected Behavior

No errors flying, Doesnt seem to cause any issues other than log errors. Players get occasionally get kicked from server for packet errors (once an hour approx) of normal playing

Server log

No response

Error report

https://pastebin.com/4xcWJkJu

Server Software

Paper

Minecraft Version

1.21.5

Slimefun version

Guizhan Builds Latest Build #214
https://builds.guizhanss.com/SlimefunGuguProject/Slimefun4/master/builds/214

Plugin version

Slimefun Translation Build #31

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions