mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-09-07 01:08:40 +02:00
Updated to Mozilla/5.0 ! (not really)
This commit is contained in:
parent
4fe2973ccf
commit
5ba7442396
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user