From 7ddf86543053d76654fde1bf2804b57085f2dbf0 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 10 Aug 2024 10:32:10 -0700 Subject: [PATCH] Give some info on where to find the files if a connection to Github is not possible. --- src/main/java/world/bentobox/challenges/web/WebManager.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/world/bentobox/challenges/web/WebManager.java b/src/main/java/world/bentobox/challenges/web/WebManager.java index 23a4a01..ec91f3b 100644 --- a/src/main/java/world/bentobox/challenges/web/WebManager.java +++ b/src/main/java/world/bentobox/challenges/web/WebManager.java @@ -151,6 +151,11 @@ public class WebManager if (this.plugin.getSettings().isLogGithubDownloadData()) { this.plugin.log("Could not connect to GitHub."); + this.plugin.log( + "JSON files can be found at https://github.com/BentoBoxWorld/weblink/tree/master/challenges/library"); + user.sendRawMessage("Could not connect to GitHub."); + user.sendRawMessage( + "JSON files can be found at https://github.com/BentoBoxWorld/weblink/tree/master/challenges/library"); } } catch (Exception e)