mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 12:46:05 +01:00
Remove redundant synchronization on ServerConnection.disconnect
This commit is contained in:
parent
2c86592ecd
commit
5cff0b2171
@ -48,7 +48,7 @@ public class ServerConnection implements Server
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void disconnect(BaseComponent... reason)
|
||||
public void disconnect(BaseComponent... reason)
|
||||
{
|
||||
Preconditions.checkArgument( reason.length == 0, "Server cannot have disconnect reason" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user