mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-26 17:18:29 +01:00
Remove unnecessary synchronization from another spot
This commit is contained in:
parent
3f126f99c8
commit
2f5a429fb5
@ -148,9 +148,7 @@ public abstract class AbstractDiscordSRV<C extends MainConfig, CC extends Connec
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setStatus(Status status) {
|
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) {
|
protected CompletableFuture<Void> invoke(CheckedRunnable runnable, String message, boolean enable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user