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

IllegalArgumentException - library doesn't work in 1.21.1 #27

Open
Xemorr opened this issue Sep 1, 2024 · 0 comments
Open

IllegalArgumentException - library doesn't work in 1.21.1 #27

Xemorr opened this issue Sep 1, 2024 · 0 comments

Comments

@Xemorr
Copy link

Xemorr commented Sep 1, 2024

[15:53:01] [Server thread/WARN]: java.lang.IllegalArgumentException: Can not set net.minecraft.world.item.component.ResolvableProfile field org.bukkit.craftbukkit.v1_21_R1.inventory.CraftMetaSkull.profile to com.mojang.authlib.GameProfile
[15:53:01] [Server thread/WARN]: at java.base/jdk.internal.reflect.FieldAccessorImpl.throwSetIllegalArgumentException(FieldAccessorImpl.java:228)
[15:53:01] [Server thread/WARN]: at java.base/jdk.internal.reflect.FieldAccessorImpl.throwSetIllegalArgumentException(FieldAccessorImpl.java:232)
[15:53:01] [Server thread/WARN]: at java.base/jdk.internal.reflect.MethodHandleObjectFieldAccessorImpl.set(MethodHandleObjectFieldAccessorImpl.java:115)
[15:53:01] [Server thread/WARN]: at java.base/java.lang.reflect.Field.set(Field.java:836)
[15:53:01] [Server thread/WARN]: at dev.dbassett.skullcreator.SkullCreator.mutateItemMeta(SkullCreator.java:298)
[15:53:01] [Server thread/WARN]: at dev.dbassett.skullcreator.SkullCreator.itemWithBase64(SkullCreator.java:161)
[15:53:01] [Server thread/WARN]: at dev.dbassett.skullcreator.SkullCreator.itemFromBase64(SkullCreator.java:91)
[15:53:01] [Server thread/WARN]: at me.xemor.superheroes.data.ConfigHandler.calculateIcon(ConfigHandler.java:188)
[15:53:01] [Server thread/WARN]: at me.xemor.superheroes.data.ConfigHandler.loadSuperheroes(ConfigHandler.java:167)
[15:53:01] [Server thread/WARN]: at me.xemor.superheroes.Superheroes.onServerLoad(Superheroes.java:103)
[15:53:01] [Server thread/WARN]: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[15:53:01] [Server thread/WARN]: at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[15:53:01] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)
[15:53:01] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[15:53:01] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:601)
[15:53:01] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:588)
[15:53:01] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:642)
[15:53:01] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:426)
[15:53:01] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:269)
[15:53:01] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1017)
[15:53:01] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant