From f94ca0239c4f94eef9e505ff912fc2153a18e36d Mon Sep 17 00:00:00 2001 From: SuperS123 <57376381+SuperS123@users.noreply.github.com> Date: Sun, 3 Oct 2021 20:18:30 -0400 Subject: [PATCH] Update Potato.java Potato update. --- src/main/java/org/drtshock/Potato.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);