runTask onDisable

Discussion in 'Plugin Development' started by rfsantos1996, Aug 11, 2014.

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

    rfsantos1996

    I use runTask to make SURE it is on the main thread instead of the Runnable's "run()" that would run on the same thread it is called.

    Well, you cant run a task with BukkitScheduler on disable, how can I turn arround it?

    I belive runTask runs on the exact time it is schedulled, so why not actually running it without checking for IllegalPluginAccessException?

    Pastebin with the error: http://pastebin.com/xJf4qxQZ
    Pastebin with the saveStats code: http://pastebin.com/J6Lickxr

    OBS: saveStats code is empty, I know, i'm still finishing it and I'm checking all MySQL columns that I need to make to fit the plugin instead of redoing the entire table everytime.

    OBS2: I know the version that I'm not using Craftbukkit but man... This error exists even on Craftbukkit AND YOU KNOW IT!!!1! So please don't be "go on your custom version forum for help"

    OBS3: Please, don't do what "OBS2" says, it is ridiculous
     
  2. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    Seek support where you acquired your server mod. :)
     
    garbagemule and Necrodoom like this.
Thread Status:
Not open for further replies.

Share This Page