// This might freeze, if the deadlock was related to the playerlist, so do it in another thread.
new Thread() {
@Override
public void run() {
MinecraftServer.getServerConfigurationManager(MinecraftServer.getServer())
.sendPacketToAllPlayers(new Packet3Chat(ChatMessageComponent.createFromText(message)));
}
}.start();
}