mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Updated to Mozilla/5.0 ! (not really)
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user