Solved onEnable error

Discussion in 'Spigot Plugin Development' started by iClicks, Jun 21, 2018.

  1. Something is wrong with line 66 in your Kingdom class.
    Are you sure that you've typed the command correctly? both in the 'YOK' class and when you registered it? (The stacktrace says that line 66 returns null)

    You also might wanna take a look at that: https://www.spigotmc.org/wiki/fixing-plugin-problems-easily-reading-stacktraces/

    It teaches how to read stacktraces like these so you can figure out your errors by yourself.