How to make a task run asynchronously

Discussion in 'Spigot Plugin Development' started by danielfr789, May 24, 2015.

  1. It shouldnt be causing lag and if it is you shiuld debug it. You shouldnt be interacting with the bukkit api async and so you might not be able to just run it async.
     
  2. konsolas

    Supporter

    Use AsyncPlayerPreLoginEvent instead. It's called asynchronously.