Repeating task

Discussion in 'Plugin Development' started by IAmANoot, Dec 15, 2017.

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

    IAmANoot

    Last edited: Dec 15, 2017
  2. Offline

    Drkmaster83

    Looks like the task is set up properly, but try to avoid the Scheduler#schedule methods, use the Scheduler#runTask methods, yours would be runTaskTimer.
    The time changes in the world may not be able to occur in the quarter-second (5/20 ticks) that you provide for it.

    As for the config and adding a player to the list, you have to grab the list, add to it, and re-set it in the config using the new list object.
     
Thread Status:
Not open for further replies.

Share This Page