Not working in 1.12.2!
AgentHyde opened this issue ยท 0 comments
- [x ] I am running the latest version of RandomCoords
- [x ] Im running Java 8
- One Time Error?
- [x ] Reoccuring and replicable error?
- [x ] I have searched for this issue previously and it was either (1) not previously reported, or (2) previously fixed and I'm having the same problem.
- I am crashing and can provide my crash report(s)
- [x ] 1.11+ (1.12.2)
- 1.10+
- 1.9+
- 1.8 +
- 1.7+
Issue Description
Throws a java error on load or reload, doesn't function.
Reproduce Steps
Have 1.12.2 running Spigot.
Additional Information
java.lang.IllegalStateException: Cannot get plugin for class com.jolbol1.RandomCoordinates.RandomCoords from a static initializer at org.bukkit.plugin.java.JavaPlugin.getPlugin(JavaPlugin.java:390) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc9ab298d]
at com.jolbol1.RandomCoordinates.RandomCoords.getPlugin(RandomCoords.java:114) ~[?:?]
at com.jolbol1.RandomCoordinates.managers.Coordinates.(Coordinates.java:88) ~[?:?]
at com.jolbol1.RandomCoordinates.listeners.onJoin.(onJoin.java:38) ~[?:?]
at com.jolbol1.RandomCoordinates.RandomCoords.onEnable(RandomCoords.java:204) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:366) [PlugMan.jar:?]
at com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114) [PlugMan.jar:?]
at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) [PlugMan.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_144]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_144]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-4bd94dc-9ab298d] at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]