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

[BUG] @HAND #382

Open
GabrielMoreiradeSouza opened this issue Oct 23, 2024 · 0 comments
Open

[BUG] @HAND #382

GabrielMoreiradeSouza opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
New Issue A new bug report

Comments

@GabrielMoreiradeSouza
Copy link

Obs: Sou brasileiro, entretando escrevi o tópico em Inglês para seguir o padrão!

Describe the bug
Problem running @hand, see error logs below

To Reproduce
write @hand in chat with any item in hand

Expected behavior
Show the item in your hand when using @hand

Server and plugins versions (please complete the following information):

  • Server: [Purpur 1.21.1]
  • Plugin Version: [[UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar]
  • Java Version: [e.g. Java 21]

Screenshots and LOGs

ERROR:

[16:13:20 WARN]: java.lang.NoSuchMethodException: net.minecraft.world.item.ItemStack.b(net.minecraft.nbt.CompoundTag)
[16:13:20 WARN]: at java.base/java.lang.Class.getMethod(Class.java:2395)
[16:13:20 WARN]: at io.papermc.reflectionrewriter.runtime.AbstractDefaultRulesReflectionProxy.getMethod(AbstractDefaultRulesReflectionProxy.java:100)
[16:13:20 WARN]: at io.papermc.paper.pluginremap.reflect.PaperReflectionHolder.getMethod(Unknown Source)
[16:13:20 WARN]: at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar//br.net.fabiozumbi12.UltimateFancy.ReflectionUtil.getMethod(UltimateFancy.java:907)
[16:13:20 WARN]: at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar//br.net.fabiozumbi12.UltimateFancy.UltimateFancy.convertItemStackToJson(UltimateFancy.java:680)
[16:13:20 WARN]: at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar//br.net.fabiozumbi12.UltimateFancy.UltimateFancy.parseHoverItem(UltimateFancy.java:653)
[16:13:20 WARN]: at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar//br.net.fabiozumbi12.UltimateFancy.UltimateFancy.hoverShowItem(UltimateFancy.java:561)
[16:13:20 WARN]: at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar//br.net.fabiozumbi12.UltimateChat.Bukkit.UCMessages.sendMessage(UCMessages.java:419)
[16:13:20 WARN]: at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar//br.net.fabiozumbi12.UltimateChat.Bukkit.UCMessages.lambda$sendFancyMessage$3(UCMessages.java:119)
[16:13:20 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86)
[16:13:20 WARN]: at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:475)
[16:13:20 WARN]: at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1763)
[16:13:20 WARN]: at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:513)
[16:13:20 WARN]: at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1635)
[16:13:20 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1335)
[16:13:20 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:334)
[16:13:20 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)
[16:13:20 WARN]: [UltimateChat] Task #5764 for UltimateChat v1.9.3-SNAPSHOT generated an exception
java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "sequence" is null
at com.google.common.base.Utf8.encodedLength(Utf8.java:51) ~[guava-32.1.2-jre.jar:?]
at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar/br.net.fabiozumbi12.UltimateFancy.UltimateFancy.parseHoverItem(UltimateFancy.java:654) ~[UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar:?]
at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar/br.net.fabiozumbi12.UltimateFancy.UltimateFancy.hoverShowItem(UltimateFancy.java:561) ~[UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar:?]
at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar/br.net.fabiozumbi12.UltimateChat.Bukkit.UCMessages.sendMessage(UCMessages.java:419) ~[UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar:?]
at UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar/br.net.fabiozumbi12.UltimateChat.Bukkit.UCMessages.lambda$sendFancyMessage$3(UCMessages.java:119) ~[UltimateChat-1.9.3-SNAPSHOT-b307-Universal.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[purpur-1.21.1.jar:1.21.1-2298-a61db94]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:475) ~[purpur-1.21.1.jar:1.21.1-2298-a61db94]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1763) ~[purpur-1.21.1.jar:1.21.1-2298-a61db94]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:513) ~[purpur-1.21.1.jar:1.21.1-2298-a61db94]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1635) ~[purpur-1.21.1.jar:1.21.1-2298-a61db94]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1335) ~[purpur-1.21.1.jar:1.21.1-2298-a61db94]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:334) ~[purpur-1.21.1.jar:1.21.1-2298-a61db94]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Issue A new bug report
Projects
None yet
Development

No branches or pull requests

2 participants