Small cleanup

This commit is contained in:
Luck
2016-10-25 11:14:56 +01:00
Unverified
parent a9b6493091
commit bd830617c9
3 changed files with 3 additions and 6 deletions
@@ -125,11 +125,10 @@ public class LPBukkitPlugin extends JavaPlugin implements LuckPermsPlugin {
}
// setup the update task buffer
final LPBukkitPlugin i = this;
updateTaskBuffer = new BufferedRequest<Void>(1000L, this::doAsync) {
@Override
protected Void perform() {
getServer().getScheduler().runTaskAsynchronously(i, new UpdateTask(i));
doAsync(new UpdateTask(LPBukkitPlugin.this));
return null;
}
};