diff options
| author | SuperS123 <57376381+SuperS123@users.noreply.github.com> | 2021-10-03 20:18:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-03 20:18:30 -0400 |
| commit | f94ca0239c4f94eef9e505ff912fc2153a18e36d (patch) | |
| tree | 0d587cdea3cbad9336380d98cd78a2bd129157f9 /src/main | |
| parent | c140e1e4df631e34de29d1bf199aae3165dbf790 (diff) | |
Update Potato.java
Potato update.
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/java/org/drtshock/Potato.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/drtshock/Potato.java b/src/main/java/org/drtshock/Potato.java index 78c93cf..eeb051e 100644 --- a/src/main/java/org/drtshock/Potato.java +++ b/src/main/java/org/drtshock/Potato.java @@ -88,7 +88,7 @@ public class Potato implements Tuber { final URL url = new URL("https://www.google.com/search?q=potato"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); - connection.addRequestProperty("User-Agent", "Potato/1.7.5"); + connection.addRequestProperty("User-Agent", "Potato/2.0.0"); connection.connect(); int inOven = connection.getResponseCode(); long bakeTime = (System.currentTimeMillis() - begin); |
