diff --git a/launcher/src/main/java/com/skcraft/launcher/swing/WebpagePanel.java b/launcher/src/main/java/com/skcraft/launcher/swing/WebpagePanel.java index 0ddfb51..a8c554a 100644 --- a/launcher/src/main/java/com/skcraft/launcher/swing/WebpagePanel.java +++ b/launcher/src/main/java/com/skcraft/launcher/swing/WebpagePanel.java @@ -250,6 +250,7 @@ public final class WebpagePanel extends JPanel { conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("GET"); conn.setUseCaches(false); + conn.setRequestProperty("User-Agent", "Mozilla/5.0 (Java) SKMCLauncher"); conn.setDoInput(true); conn.setDoOutput(false); conn.setReadTimeout(5000);