Skip to content

Console error on tag click #19

Description

@simplerandomuser

Describe the bug
When clicking any tag in the /tags GUI on a 1.8.8 server, the plugin throws an IncompatibleClassChangeError related to org.bukkit.Sound.valueOf(String) and the inventory click fails.

To Reproduce
Steps to reproduce the behavior:

  1. Create a 1.8.8 server
  2. Install AlonsoTags v2.3-BETA
  3. Start the server
  4. Run /tags
  5. Click on any tag
  6. Check the console

Expected behavior
Clicking a tag should select/apply it without throwing errors in the console.

Important (please complete the following information):

  • Java version: 25
  • Plugin version: 2.3-BETA
  • Server version 1.8.8

Additional context
Error log:

[13:57:46 ERROR]: Could not pass event InventoryClickEvent to AlonsoTags v2.3-BETA
java.lang.IncompatibleClassChangeError: Method 'org.bukkit.Sound org.bukkit.Sound.valueOf(java.lang.String)' must be Methodref constant
        at com.alonsoaliaga.alonsotags.others.Sounds.<init>(Sounds.java:71) ~[?:?]
        at com.alonsoaliaga.alonsotags.others.Sounds.<clinit>(Sounds.java:6) ~[?:?]
        at com.alonsoaliaga.alonsotags.listeners.ClickListener.onClick(ClickListener.java:142) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor222.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:67) ~[azurite-api-1.8.8-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[azurite-api-1.8.8-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:488) ~[azurite-api-1.8.8-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:473) ~[azurite-api-1.8.8-R0.1-SNAPSHOT.jar:?]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1809) ~[resources.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:17) ~[resources.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:5) ~[resources.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.NetworkManager.lambda$channelRead$2(NetworkManager.java:312) ~[resources.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.MinecraftServer.processTasks(MinecraftServer.java:607) ~[resources.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.MinecraftServer.subTick(MinecraftServer.java:592) ~[resources.jar:1.8.8-R0.1-SNAPSHOT]
        at dev.azurite.spigot.tickloop.AzuriteTickloop.run(AzuriteTickloop.java:59) ~[?:?]
        at java.lang.Thread.run(Thread.java:1474) ~[?:?]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions