Plugin disables on startup with an error.
JasperTheMinecraftDev opened this issue · comments
[19:24:39 INFO]: [Teleportcommand] Enabling Teleportcommand v${project.version}
[19:24:40 ERROR]: Error occurred while enabling Teleportcommand v${project.version} (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "org.bukkit.plugin.Plugin.getDescription()" because "this.plugin" is null
at ga.juriantech.acf.BukkitCommandManager.(BukkitCommandManager.java:98) ~[teleportcommand-1.0.jar:?]
at ga.juriantech.teleportcommand.Teleportcommand.commands(Teleportcommand.java:35) ~[teleportcommand-1.0.jar:?]
at ga.juriantech.teleportcommand.Teleportcommand.onEnable(Teleportcommand.java:23) ~[teleportcommand-1.0.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:541) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugin(CraftServer.java:560) ~[paper-1.18.2.jar:git-Paper-341]
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.enablePlugins(CraftServer.java:474) ~[paper-1.18.2.jar:git-Paper-341]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:664) ~[paper-1.18.2.jar:git-Paper-341]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.18.2.jar:git-Paper-341]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:316) ~[paper-1.18.2.jar:git-Paper-341]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1163) ~[paper-1.18.2.jar:git-Paper-341]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.18.2.jar:git-Paper-341]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:24:40 INFO]: [Teleportcommand] Disabling Teleportcommand v${project.version}