Zrips / CMI

117 stars 99 forks source link

Hologram Interactions not working #9079

Closed T14D3 closed 2 months ago

T14D3 commented 2 months ago

Description of Issue

Clicking on clickable hologram texts (both new and old display, any content) fail to execute and result in an exception (see below)

Version Information

[12:34:43 INFO]: CMI Plugin Version: 9.7.5.4 Velocity CMIB  MySQL
[12:34:43 INFO]: CMILib: 1.5.1.1 
[12:34:43 INFO]: Server: Paper 1.21-R0.1-SNAPSHOT-
[12:34:43 INFO]: CMI economy: Active Vault: 1.7.3-CMI CMI Chat: Inactive 
[12:34:43 INFO]: Modules -> 37 enabled 29 disabled: spawnerProximity, customMessages, tablist, versionCheck, armorEffects, moneyCheque, skin, elytraLaunch, bossBarCompass, coloredArmor, chatBubble, playerCombat, votifier, spawnerCharge, namePlates, timedCommands, homeInteractions, elytraExploit, anvilRenameColor, spawners, kits, flightCharge, deathMessages, disabledEnchants, worldLimitsElytra, ranks, firstJoinMessages, selection, sitAnimation

Errors

[12:28:42 WARN]: java.lang.NoSuchFieldException: entityId
[12:28:42 WARN]:        at java.base/java.lang.Class.getDeclaredField(Class.java:2782)
[12:28:42 WARN]:        at CMI-9.7.5.4.jar//com.Zrips.CMI.Modules.Packets.PacketHandler.lambda$0(PacketHandler.java:323)
[12:28:42 WARN]:        at CMILib1.5.1.1.jar//net.Zrips.CMILib.Version.Schedulers.CMIBukkitImpl.lambda$runTaskAsynchronously$1(CMIBukkitImpl.java:48)
[12:28:42 WARN]:        at org.bukkit.craftbukkit.v1_21_R1.scheduler.CraftTask.run(CraftTask.java:78)
[12:28:42 WARN]:        at org.bukkit.craftbukkit.v1_21_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[12:28:42 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[12:28:42 WARN]:        at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314)
[12:28:42 WARN]:        at java.base/java.lang.VirtualThread.run(VirtualThread.java:309)

Relevant Config Sections

-

Relevant Plugins

No response

Agreements

Zrips commented 2 months ago

What type of server do you have? As it looks like recognized paper version isint the fully correct one

T14D3 commented 2 months ago

I think in that specific Instance I was running Leaf (Purpur fork) but I also tested on Purpur and Paper with the same result

Zrips commented 2 months ago

Tested on latest purpur 1.20.1 and paper, can't really reproduce your issue here. Are you sure this issue existed on those versions and not just on Leaf?

T14D3 commented 2 months ago

Tested on 1.21, not 1.20.1, and yes can reproduce the error on both

Zrips commented 2 months ago

Sorry, meant to say 1.21.1 image Tho still can't reproduce your issue here. When you mentioned Leaf, are we talking about this https://github.com/LeavesMC/Leaves ?

Zrips commented 2 months ago

And could you test this without any other plugin, in case there is an issue with 3rd party interference, especially with things like protocollib. And if that doesn't help, will need example of holograms which doesn't work for you as an example for testing. Tested on Leaves latest version, still can't reproduce your issue.

T14D3 commented 2 months ago

Tho still can't reproduce your issue here. When you mentioned Leaf, are we talking about this https://github.com/LeavesMC/Leaves ?

No, was talking about this: https://github.com/Winds-Studio/Leaf/

Also, tested with zero other plugins, but I did some more testing and it seems to work fine on any 1.21.1 version, but not on any 1.21(.0) - if you only want to support the latest version then this Issue is invalid and I'll close it

EDIT: Mojang-Mapped works fine, Spigot-Mapped does not

Zrips commented 2 months ago

Ok, will make few changes to make it more acceptable when it comes to different mappings