Skip to content

Commit

Permalink
Update Potato.java
Browse files Browse the repository at this point in the history
Potato update.
  • Loading branch information
SuperS123 authored Oct 4, 2021
1 parent c140e1e commit f94ca02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/drtshock/Potato.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public boolean isPutIntoOven() throws OvenException, BurntException {
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);
Expand Down

0 comments on commit f94ca02

Please sign in to comment.