Don't wrap buffer tasks in scheduler calls

This commit is contained in:
Luck
2016-10-29 21:23:30 +01:00
Unverified
parent c0ea2d8ec3
commit a99609e016
3 changed files with 3 additions and 3 deletions
@@ -138,7 +138,7 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin {
updateTaskBuffer = new BufferedRequest<Void>(1000L, this::doAsync) {
@Override
protected Void perform() {
doAsync(new UpdateTask(LPBukkitPlugin.this));
new UpdateTask(LPBukkitPlugin.this).run();
return null;
}
};