Enabling error

Discussion in 'Plugin Development' started by bigflori, Jul 26, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    bigflori

    Hi, so i have an intresting error, which makes no sense for me.
    So basically i have a server which is running on 1.8.8 (same as my local server) and my plugin throws me this error when i enable my plugin:
    [​IMG]

    But. When i try it on my local server everything is okay. The server jar is the same.
    This line causes the error:
    Code:
    Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
     
  2. did you update the commands in your plugin.yml file?
     
  3. Offline

    KarimAKL

    @bigflori What is your class visibility modifier? I don't think i've gotten that specific error before, so i'm not sure that's what's causing it, i'm just guessing.
     
  4. Offline

    bigflori

    Sorry, i dont know what do you mean or how can i check it :oops:
     
  5. Offline

    KarimAKL

    @bigflori Is your Main class public, private, protected, or doesn't it have a visibility modifier?
     
  6. Offline

    Roboi

    Can you show your full code?
     
Thread Status:
Not open for further replies.

Share This Page