Small cleanup

This commit is contained in:
Luck committed 2016-10-25 11:14:56 +01:00
1 parent a9b6493091
commit bd830617c9
3 files changed
+3 -6

No files matched your search

@@ -148,11 +148,10 @@ public class LPSpongePlugin implements LuckPermsPlugin {
}
// setup the update task buffer
final LPSpongePlugin i = this;
updateTaskBuffer = new BufferedRequest<Void>(1000L, this::doAsync) {
@Override
protected Void perform() {
scheduler.createTaskBuilder().async().execute(new UpdateTask(i)).submit(i);
doAsync(new UpdateTask(LPSpongePlugin.this));
return null;
}
};