Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task #3276 for LeadWires v1.1.10 generated an exception #9

Open
JerryTheSlime16 opened this issue May 19, 2024 · 1 comment
Open

Task #3276 for LeadWires v1.1.10 generated an exception #9

JerryTheSlime16 opened this issue May 19, 2024 · 1 comment

Comments

@JerryTheSlime16
Copy link

The following spams console.

[00:23:05 WARN]: [LeadWires] Task #3276 for LeadWires v1.1.10 generated an exception
com.comphenix.protocol.reflect.FieldAccessException: Field index 0 is out of bounds for length 0
        at com.comphenix.protocol.reflect.FieldAccessException.fromFormat(FieldAccessException.java:49) ~[ProtocolLib.jar:?]
        at com.comphenix.protocol.reflect.StructureModifier.write(StructureModifier.java:315) ~[ProtocolLib.jar:?]
        at me.saharnooby.plugins.leadwires.tracker.ProtocolUtil.despawn_1_17(ProtocolUtil.java:186) ~[LeadWires.jar:?]
        at me.saharnooby.plugins.leadwires.tracker.ProtocolUtil.despawn(ProtocolUtil.java:171) ~[LeadWires.jar:?]
        at me.saharnooby.plugins.leadwires.tracker.WireTracker.checkPlayer(WireTracker.java:128) ~[LeadWires.jar:?]
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
        at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092) ~[?:?]
        at me.saharnooby.plugins.leadwires.tracker.WireTracker.checkAllPlayers(WireTracker.java:184) ~[LeadWires.jar:?]
        at me.saharnooby.plugins.leadwires.LeadWires.lambda$onEnable$0(LeadWires.java:83) ~[LeadWires.jar:?]
        at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.2.jar:git-Purpur-2095]
        at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:480) ~[purpur-1.20.2.jar:git-Purpur-2095]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1497) ~[purpur-1.20.2.jar:git-Purpur-2095]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:486) ~[purpur-1.20.2.jar:git-Purpur-2095]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1406) ~[purpur-1.20.2.jar:git-Purpur-2095]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1177) ~[purpur-1.20.2.jar:git-Purpur-2095]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[purpur-1.20.2.jar:git-Purpur-2095]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

Paper version:

Current: git-Purpur-2095 (MC: 1.20.2)*
Previous: git-Purpur-2118 (MC: 1.20.4)
* You are running the latest version

LeadWires Version: 1.1.10
ProtocolLib Version: 5.2.1-SNAPSHOT-689

Please let me know what other information is needed.

@LedariaTim1
Copy link
Contributor

LedariaTim1 commented Jul 26, 2024

Hi,
try ProtocolLib 5.2.0, the newer versions are only compatible for 1.20.6 and 1.21

It may also be due to Purpur, I always test only with papermc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants