Open jooles opened 3 months ago
[19:25:28 ERROR]: Error occurred while enabling MCPets v4.1.4 (Is it up to date?)
java.lang.NoSuchMethodError: 'void org.bukkit.inventory.meta.ItemMeta.setItemName(java.lang.String)'
at fr.nocsy.mcpets.data.Items.unknown(Items.java:98) ~[MCPets 4.1.4-1.21+.jar:?]
at fr.nocsy.mcpets.data.Items.
[04:48:49 INFO]: [MCPets] Enabling MCPets v4.1.4
[04:48:49 ERROR]: [MCPets] Failed to register events for class fr.nocsy.mcpets.listeners.VanillaDismountListener because org/bukkit/event/entity/EntityDismountEvent does not exist.
[04:48:49 ERROR]: Error occurred while enabling MCPets v4.1.4 (Is it up to date?)
java.lang.NoSuchMethodError: 'void org.bukkit.inventory.meta.ItemMeta.setItemName(java.lang.String)'
at fr.nocsy.mcpets.data.Items.unknown(Items.java:98) ~[MCPets 4.1.4-1.21+.jar:?]
at fr.nocsy.mcpets.data.Items.
Hi there,
I get this error when wanting to use MCPets 4.1.4:
[12:04:37] [Server thread/ERROR]: Error occurred while enabling MCPets v4.1.4 (Is it up to date?) java.lang.NoSuchMethodError: 'void org.bukkit.inventory.meta.ItemMeta.setItemName(java.lang.String)' at fr.nocsy.mcpets.data.Items.unknown(Items.java:98) ~[mcpets.jar:?] at fr.nocsy.mcpets.data.Items.(Items.java:68) ~[mcpets.jar:?]
at fr.nocsy.mcpets.data.Items.(Items.java:19) ~[mcpets.jar:?]
at fr.nocsy.mcpets.data.config.ItemsListConfig.init(ItemsListConfig.java:39) ~[mcpets.jar:?]
at fr.nocsy.mcpets.MCPets.loadConfigs(MCPets.java:48) ~[mcpets.jar:?]
at fr.nocsy.mcpets.MCPets.onEnable(MCPets.java:92) ~[mcpets.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:281) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:189) ~[paper-1.20.1.jar:git-Paper-196]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:642) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:635) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:434) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
[12:04:37] [Server thread/INFO]: [MCPets] Disabling MCPets v4.1.4
[12:04:37] [Server thread/INFO]: -=-=-=-= MCPets disable =-=-=-=-
[12:04:37] [Server thread/INFO]: See you soon
[12:04:37] [Server thread/INFO]: -=-=-=-= -=-=-=-=-=-=- =-=-=-=-
[12:04:37] [Server thread/ERROR]: Error occurred (in the plugin loader) while disabling MCPets v4.1.4 (Is it up to date?)
java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityMountEvent
at fr.nocsy.mcpets.MCPets.onDisable(MCPets.java:112) ~[mcpets.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:283) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:224) ~[paper-1.20.1.jar:git-Paper-196]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:193) ~[paper-1.20.1.jar:git-Paper-196]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:642) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:553) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:635) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:434) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.event.entity.EntityMountEvent
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:183) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
... 16 more
Is this known or anything that I do wrong?
Thank you!
Best, Jooles