Auxilor / eco

Spigot development library, built for the latest version.
MIT License
156 stars 52 forks source link

NoSuchMethodException: CraftMetaSkull.setProfile in EcoEnchants with Minecraft 1.21.1 #378

Open thisisaef opened 3 weeks ago

thisisaef commented 3 weeks ago

Describe the bug When reloading EcoEnchants on Paper 1.21.1, the server logs a NoSuchMethodException related to the setProfile method in CraftMetaSkull. This seems to affect the setting of skull textures through EcoEnchants.

To Reproduce Steps to reproduce the behavior:

  1. Install EcoEnchants on Paper 1.21.1.
  2. Reload the plugin or server.
  3. Observe the error in the server logs: java.lang.NoSuchMethodException: org.bukkit.craftbukkit.inventory.CraftMetaSkull.setProfile(com.mojang.authlib.GameProfile)

Log latest.log: https://paste.helpch.at/ufakoxufuq.makefile

Expected behavior The plugin should set skull textures properly without throwing an exception during reloads or when accessing skull-related functionality.

Actual Behavior The server throws a NoSuchMethodException in the logs when EcoEnchants attempts to use the setProfile method, resulting in a warning but no visible impact on gameplay. The skull textures do not apply as expected.

Plugin List EcoEnchants 12.18.7 eco-6.74.1-all

Software brand Backend: Paper 1.21.1-77-4ff58c4 (MC: 1.21.1)

Additional Information This issue appears to be related to changes in the internal methods of Minecraft or Paper, affecting how skull textures are handled in the plugin. The plugin may require updates to accommodate these changes.

TheFaik commented 3 weeks ago

++++