Indyuce / bounty-hunters

Source code of BountyHunters Premium
https://www.spigotmc.org/resources/72142/
22 stars 23 forks source link

Bounty Hunters not working #113

Closed Darkside247 closed 2 years ago

Darkside247 commented 2 years ago

[22:05:15 ERROR]: [org.bukkit.craftbukkit.v1_18_R2.CraftServer] net/minecraft/network/chat/Component initializing BountyHunters v2.4.1 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/network/chat/Component at net.Indyuce.bountyhunters.BountyHunters.onLoad(BountyHunters.java:97) ~[BountyHunters-2.4.1 (3).jar:?] at org.bukkit.craftbukkit.v1_18_R2.CraftServer.loadPlugins(CraftServer.java:423) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:288) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-267] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.lang.ClassNotFoundException: net.minecraft.network.chat.Component at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:151) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:103) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] ... 6 more

    [22:06:02 ERROR]: Error occurred while enabling BountyHunters v2.4.1 (Is it up to date?)

java.lang.NullPointerException: Cannot invoke "net.Indyuce.bountyhunters.version.wrapper.VersionWrapper.getNBTItem(org.bukkit.inventory.ItemStack)" because the return value of "net.Indyuce.bountyhunters.BountyHunters.getVersionWrapper()" is null at net.Indyuce.bountyhunters.version.wrapper.api.NBTItem.get(NBTItem.java:51) ~[BountyHunters-2.4.1 (3).jar:?] at net.Indyuce.bountyhunters.api.CustomItem.update(CustomItem.java:98) ~[BountyHunters-2.4.1 (3).jar:?] at net.Indyuce.bountyhunters.BountyHunters.onEnable(BountyHunters.java:264) ~[BountyHunters-2.4.1 (3).jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:559) ~[paper-1.18.2.jar:git-Paper-267] at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:473) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:316) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-267] at java.lang.Thread.run(Thread.java:833) ~[?:?] [22:06:02 INFO]: [BountyHunters] Disabling BountyHunters v2.4.1 [22:06:03 ERROR]: Error occurred while disabling BountyHunters v2.4.1 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "net.Indyuce.bountyhunters.leaderboard.HunterLeaderboard.save()" because "this.hunterLeaderboard" is null at net.Indyuce.bountyhunters.BountyHunters.onDisable(BountyHunters.java:304) ~[BountyHunters-2.4.1 (3).jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:399) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:538) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:559) ~[paper-1.18.2.jar:git-Paper-267] at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:473) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:316) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163) ~[paper-1.18.2.jar:git-Paper-267] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-267] at java.lang.Thread.run(Thread.java:833) ~[?:?]

adamwbb commented 2 years ago

it doesnt work on 1.18.2 so that is why you are getting that specific Error.