mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-25 10:07:38 +01:00
#3529: Use a synchronized list for /send command
This commit is contained in:
parent
fed646d18b
commit
1c42c34081
@ -38,7 +38,7 @@ public class CommandSend extends Command implements TabExecutor
|
|||||||
this.sender = sender;
|
this.sender = sender;
|
||||||
for ( ServerConnectRequest.Result result : ServerConnectRequest.Result.values() )
|
for ( ServerConnectRequest.Result result : ServerConnectRequest.Result.values() )
|
||||||
{
|
{
|
||||||
results.put( result, new ArrayList<String>() );
|
results.put( result, Collections.synchronizedList( new ArrayList<>() ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user