mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-24 11:44:24 +00:00
Small cleanup
This commit is contained in:
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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user