Solved Basic Event Not Working

Discussion in 'Plugin Development' started by Callum5771, Apr 25, 2019.

Thread Status:
Not open for further replies.
  1. Hi There!

    I'm not a new member to the forums, but really do want to take up Bukkit development, I grabbed a copy of eclipse and a few YouTube tutorials and I'm off! Only.. my onMove player event doesn't want to work.

    It should output 1 to the console every-time the player moves, only it doesn't :(

    My main classes code: https://pastebin.com/7qEZwz18
    My event classes code: https://pastebin.com/gkc28BJ5

    Eclipse reports no errors, but the plugin, now I've noticed also doesn't enable? It just says "loading tutorial v1.0" in the console, but it never truly enables?

    Thanks for the read, the help and the time, thanks sooooo much! :)
     
  2. Offline

    timtower Administrator Administrator Moderator

    @Callum5771 You have OnEnable, needs to be onEnable
    Same for onDisable
     
  3. @timtower Simple but true, thanks soooo much :)
     
Thread Status:
Not open for further replies.

Share This Page