Remove unnecessary synchronization from another spot

This commit is contained in:
Vankka 2021-07-29 12:46:04 +03:00
parent 3f126f99c8
commit 2f5a429fb5
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -148,9 +148,7 @@ public abstract class AbstractDiscordSRV<C extends MainConfig, CC extends Connec
@Override
public void setStatus(Status status) {
synchronized (this.status) {
this.status.set(status);
}
this.status.set(status);
}
protected CompletableFuture<Void> invoke(CheckedRunnable runnable, String message, boolean enable) {