Solved Can't register command.

Discussion in 'Spigot Plugin Development' started by epe07, Jul 2, 2016.

Thread Status:
Not open for further replies.
  1. CmdRenderTest
    http://pastebin.com/ZBbjcW9v

    "Main"
    http://pastebin.com/0sqk98DC

    Error
    Code (Text):
    02.07 11:32:03 [Server] ERROR null initializing Miniblock v6.0.9 (Is it up to date?) 02.07 11:32:03 [Server] INFO java.lang.NullPointerException 02.07 11:32:03 [Server] INFO at eu.epe07.miniblock.Keskus.onLoad(Keskus.java:11) ~[?:?] 02.07 11:32:03 [Server] INFO at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugins(CraftServer.java:301) [spigot-1.9.2.jar:git-Spigot-d20369f-7fc5cd8] 02.07 11:32:03 [Server] INFO at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:201) [spigot-1.9.2.jar:git-Spigot-d20369f-7fc5cd8] 02.07 11:32:03 [Server] INFO at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:527) [spigot-1.9.2.jar:git-Spigot-d20369f-7fc5cd8] 02.07 11:32:03 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]
    So. I have tried everything. :/
     
  2. Take the code from onLoad() and put it onEnable()
     
    • Useful Useful x 1
  3. Pretty sure its onEnable ()
     
    • Useful Useful x 1
Thread Status:
Not open for further replies.