Remove switchMutex since its no longer required
This commit is contained in:
parent
37ed331515
commit
565af4d53e
@ -117,8 +117,6 @@ public class ServerConnector extends PacketHandler
|
||||
ch.write( user.getSettings() );
|
||||
}
|
||||
|
||||
synchronized ( user.getSwitchMutex() )
|
||||
{
|
||||
if ( user.getServer() == null )
|
||||
{
|
||||
// Once again, first connection
|
||||
@ -176,7 +174,6 @@ public class ServerConnector extends PacketHandler
|
||||
|
||||
user.setServer( server );
|
||||
ch.getHandle().pipeline().get( HandlerBoss.class ).setHandler( new DownstreamBridge( bungee, user, server ) );
|
||||
}
|
||||
|
||||
bungee.getPluginManager().callEvent( new ServerSwitchEvent( user ) );
|
||||
|
||||
|
@ -67,8 +67,6 @@ public final class UserConnection implements ProxiedPlayer
|
||||
@Setter
|
||||
private boolean dimensionChange = true;
|
||||
@Getter
|
||||
private final Object switchMutex = new Object();
|
||||
@Getter
|
||||
private final Collection<ServerInfo> pendingConnects = new HashSet<>();
|
||||
/*========================================================================*/
|
||||
@Getter
|
||||
|
Loading…
Reference in New Issue
Block a user