From 5ba74423966e9f40fd2beb6934ffdcb253c9fabd Mon Sep 17 00:00:00 2001 From: boy0001 Date: Sun, 19 Jul 2015 03:30:41 +1000 Subject: [PATCH] Updated to Mozilla/5.0 ! (not really) --- src/main/java/com/intellectualcrafters/plot/PS.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/intellectualcrafters/plot/PS.java b/src/main/java/com/intellectualcrafters/plot/PS.java index b7d5f0f8c..f656d340e 100644 --- a/src/main/java/com/intellectualcrafters/plot/PS.java +++ b/src/main/java/com/intellectualcrafters/plot/PS.java @@ -879,7 +879,7 @@ public class PS { try { URL history = new URL(url); URLConnection con = history.openConnection(); - con.addRequestProperty("User-Agent", "Mozilla/4.0"); + con.addRequestProperty("User-Agent", "Mozilla/5.0"); InputStream stream = con.getInputStream(); BufferedReader in = new BufferedReader(new InputStreamReader(stream)); String l;