
IncompatibleClassChangeError when creatingg kit with custom shield design
mehdika2 opened this issue ยท 1 comments
Type of bug
Error in console
/ess dump all
output
https://essentialsx.net/dump.html?bytebin=DgGIZO1nMq
Error log (if applicable)
No response
Bug description
[23:53:47 ERROR]: [Essentials] Command createkit failed:
java.lang.IncompatibleClassChangeError: Found class org.bukkit.block.banner.PatternType, but interface was expected
at com.earth2me.essentials.items.AbstractItemDb.serialize(AbstractItemDb.java:315) ~[EssentialsX-2.21.0-dev+189-eab2201.jar:?]
at com.earth2me.essentials.items.AbstractItemDb.serialize(AbstractItemDb.java:185) ~[EssentialsX-2.21.0-dev+189-eab2201.jar:?]
at com.earth2me.essentials.commands.Commandcreatekit.run(Commandcreatekit.java:60) ~[EssentialsX-2.21.0-dev+189-eab2201.jar:?]
at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:171) ~[EssentialsX-2.21.0-dev+189-eab2201.jar:?]
at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:825) ~[EssentialsX-2.21.0-dev+189-eab2201.jar:?]
at com.earth2me.essentials.Essentials.onCommand(Essentials.java:725) ~[EssentialsX-2.21.0-dev+189-eab2201.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:986) ~[paper-1.20.4.jar:git-Paper-319]
at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.4.jar:git-Paper-319]
at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:32) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:101) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:444) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:345) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:332) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2230) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$16(ServerGamePacketListenerImpl.java:2190) ~[?:?]
at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1812) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1458) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1435) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1358) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1336) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[paper-1.20.4.jar:git-Paper-319]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[paper-1.20.4.jar:git-Paper-319]
at java.lang.Thread.run(Thread.java:1575) ~[?:?]
Steps to reproduce
Just try to add shield with custom design but not working
Expected behaviour
Should add shield with custom design to kits.yml
Actual behaviour
Throw unexcepted error: Command createkit failed: java.lang.IncompatibleClassChangeError: Found class org.bukkit.block.banner.PatternType, but interface was expected
Additional Information
No response