ProtocolLib

3M Downloads

Tablist

Tomexs23 opened this issue ยท 0 comments

commented

Hi,
I have been using this library (https://github.com/thekeenant/tabbed) for tablist for several years, since I updated to the latest version the tab does not work. The last version it worked on was 1.18. Can you please help?

[14:54:33] [SetThread/INFO]: exception: Unable to set value of field private final java.util.EnumSet net.minecraft.network.protocol.game.ClientboundPlayerInfoUpdatePacket.a
[14:54:33] [SetThread/WARN]: java.lang.IllegalStateException: Unable to set value of field private final java.util.EnumSet net.minecraft.network.protocol.game.ClientboundPlayerInfoUpdatePacket.a
[14:54:33] [SetThread/WARN]: at ProtocolLib (4).jar//com.comphenix.protocol.reflect.accessors.DefaultFieldAccessor.set(DefaultFieldAccessor.java:44)
[14:54:33] [SetThread/WARN]: at ProtocolLib (4).jar//com.comphenix.protocol.reflect.StructureModifier.writeInternal(StructureModifier.java:359)
[14:54:33] [SetThread/WARN]: at ProtocolLib (4).jar//com.comphenix.protocol.reflect.StructureModifier.write(StructureModifier.java:322)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.tabapi.util.Packets.getPacket(Packets.java:35)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.tabapi.list.SimpleTabList.getUpdate(SimpleTabList.java:252)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.tabapi.list.SimpleTabList.update(SimpleTabList.java:214)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.tabapi.list.SimpleTabList.update(SimpleTabList.java:181)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.tabapi.list.SimpleTabList.set(SimpleTabList.java:120)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.tabapi.list.TableTabList.reset(TableTabList.java:163)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.tabapi.list.TableTabList.enable(TableTabList.java:104)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.base.user.User.getTab(User.java:247)
[14:54:33] [SetThread/WARN]: at plugin.jar//pl.kemoq.survival.utils.threads.SetThread.run(SetThread.java:41)
[14:54:33] [SetThread/WARN]: Caused by: java.lang.ClassCastException: Cannot cast java.util.ArrayList to java.util.EnumSet
[14:54:33] [SetThread/WARN]: at java.base/java.lang.Class.cast(Class.java:3889)
[14:54:33] [SetThread/WARN]: at ProtocolLib (4).jar//com.comphenix.protocol.reflect.accessors.DefaultFieldAccessor.set(DefaultFieldAccessor.java:41)
[14:54:33] [SetThread/WARN]: ... 11 more