Skip to content

exception: ItemBuilder #44

@mluizaa00

Description

@mluizaa00
com.celeste.library.spigot.error.ServerStartError: java.lang.NoSuchMethodException: org.bukkit.craftbukkit.v1_16_R3.inventory.CraftMetaItem.setCustomModelData()
        at com.celeste.library.spigot.util.item.ItemBuilder.<clinit>(ItemBuilder.java:123) ~[?:?]
        at net.hylex.royale.controller.TeamsController.register(TeamsController.java:31) ~[?:?]
        at net.hylex.royale.controller.GameController.setupJoin(GameController.java:131) ~[?:?]
        at net.hylex.royale.views.listeners.PlayerListener.onJoin(PlayerListener.java:31) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor17.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-779]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-779]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-779]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.PlayerList.postChunkLoadJoin(PlayerList.java:356) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.PlayerList.lambda$a$1(PlayerList.java:303) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.PlayerConnection.tick(PlayerConnection.java:316) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.NetworkManager.a(NetworkManager.java:408) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.ServerConnection.c(ServerConnection.java:168) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1515) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:436) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1342) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1130) ~[patched_1.16.5.jar:git-Paper-779]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-779]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.NoSuchMethodException: org.bukkit.craftbukkit.v1_16_R3.inventory.CraftMetaItem.setCustomModelData()
        at java.lang.Class.getDeclaredMethod(Class.java:2475) ~[?:?]
        at com.celeste.library.core.util.Reflection.getDcMethod(Reflection.java:147) ~[?:?]
        at com.celeste.library.spigot.util.item.ItemBuilder.<clinit>(ItemBuilder.java:84) ~[?:?]
        ... 19 more
        ```

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingurgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions