eco icon indicating copy to clipboard operation
eco copied to clipboard

NoSuchMethodException: CraftMetaSkull.setProfile in EcoEnchants with Minecraft 1.21.1

Open v4r1n opened this issue 1 year ago • 1 comments

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.

v4r1n avatar Sep 16 '24 12:09 v4r1n

++++

TheFaik avatar Sep 18 '24 13:09 TheFaik