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

Expected NBTInt but got NBTLong #899

Closed
SergioK29 opened this issue Jul 23, 2024 · 0 comments · Fixed by #900
Closed

Expected NBTInt but got NBTLong #899

SergioK29 opened this issue Jul 23, 2024 · 0 comments · Fixed by #900
Labels
bug Something isn't working

Comments

@SergioK29
Copy link

Describe the bug
Error parsing WrapperPlayerClientClickWindow

java.lang.IllegalArgumentException: Expected NBTInt but got NBTLong
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.requireType(AdventureNBTSerializer.java:783) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.access$200(AdventureNBTSerializer.java:73) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.lambda$readInt$7(AdventureNBTSerializer.java:606) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.withTag(AdventureNBTSerializer.java:706) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.readInt(AdventureNBTSerializer.java:606) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserializeStyle(AdventureNBTSerializer.java:349) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserialize(AdventureNBTSerializer.java:159) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserializeComponentList(AdventureNBTSerializer.java:526) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.lambda$readList$25(AdventureNBTSerializer.java:678) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.withTag(AdventureNBTSerializer.java:706) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.readList(AdventureNBTSerializer.java:678) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserialize(AdventureNBTSerializer.java:157) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.withTag(AdventureNBTSerializer.java:706) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.read(AdventureNBTSerializer.java:686) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserializeStyle(AdventureNBTSerializer.java:342) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserialize(AdventureNBTSerializer.java:159) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserializeComponentList(AdventureNBTSerializer.java:526) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.lambda$readList$25(AdventureNBTSerializer.java:678) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.withTag(AdventureNBTSerializer.java:706) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer$NBTReader.readList(AdventureNBTSerializer.java:678) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureNBTSerializer.deserialize(AdventureNBTSerializer.java:157) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.adventure.AdventureSerializer.fromNbt(AdventureSerializer.java:110) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readComponentAsNBT(PacketWrapper.java:683) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readComponent(PacketWrapper.java:679) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.util.Filterable.read(Filterable.java:50) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.protocol.component.builtin.item.WrittenBookContent.lambda$read$1(WrittenBookContent.java:52) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readCollection(PacketWrapper.java:1426) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readList(PacketWrapper.java:1439) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.protocol.component.builtin.item.WrittenBookContent.read(WrittenBookContent.java:52) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.protocol.component.ComponentTypes$1.read(ComponentTypes.java:88) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readItemStackModern(PacketWrapper.java:477) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readItemStack(PacketWrapper.java:496) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readMap(PacketWrapper.java:427) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientClickWindow.read(WrapperPlayClientClickWindow.java:77) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.readEvent(PacketWrapper.java:270) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.<init>(PacketWrapper.java:160) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.PacketWrapper.<init>(PacketWrapper.java:150) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.shaded.com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientClickWindow.<init>(WrapperPlayClientClickWindow.java:42) ~[grim.jar:?]
	at grim.jar/ac.grim.grimac.checks.impl.crash.CrashD.onPacketReceive(CrashD.java:38) ~[grim.jar:?]

Software brand
Paper 1.21 latest

Plugins
Grim with 6a69d1b version of packetevents shaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant