From b6a091cb074f5d63076eb6e52a680e147517946f Mon Sep 17 00:00:00 2001 From: Alexander Bielen Date: Tue, 4 Dec 2018 21:21:52 +0100 Subject: [PATCH] [TASK] Apply requested changes --- src/main/java/org/parabot/core/Configuration.java | 4 ++-- .../java/org/parabot/environment/servers/ServerProvider.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/parabot/core/Configuration.java b/src/main/java/org/parabot/core/Configuration.java index 4a2ea44..a8185a6 100644 --- a/src/main/java/org/parabot/core/Configuration.java +++ b/src/main/java/org/parabot/core/Configuration.java @@ -24,6 +24,6 @@ public class Configuration extends org.parabot.api.Configuration { public static final Version BOT_VERSION = ProjectProperties.getProjectVersion(); - public static final String COMMUNITY = "https://www.parabot.org/community/"; - public static final String REGISTRATION_PAGE = COMMUNITY + "register/"; + public static final String COMMUNITY_PAGE = "https://www.parabot.org/community/"; + public static final String REGISTRATION_PAGE = COMMUNITY_PAGE + "register/"; } diff --git a/src/main/java/org/parabot/environment/servers/ServerProvider.java b/src/main/java/org/parabot/environment/servers/ServerProvider.java index f023cd6..ae9b5ba 100644 --- a/src/main/java/org/parabot/environment/servers/ServerProvider.java +++ b/src/main/java/org/parabot/environment/servers/ServerProvider.java @@ -95,11 +95,11 @@ public abstract class ServerProvider implements Opcodes { if(!crashed) { Injectable inj = injectables[index]; - int resp = UILog.alert("Outdated client", "This server currently has outdated hooks, please report it to a member of the Parabot staff/Dev Team.\r\n\r\n" + + int resp = UILog.alert("Outdated client", "This server currently has outdated hooks, please report it to a member of the Parabot staff.\r\n\r\n" + "Broken hook:\r\n"+inj, new Object[]{"Close", "Report here..."}, JOptionPane.ERROR_MESSAGE); if(resp == 1) { - URI uri = URI.create(Configuration.COMMUNITY + "forum/135-reports/"); + URI uri = URI.create(Configuration.COMMUNITY_PAGE + "forum/135-reports/"); try { Desktop.getDesktop().browse(uri); } catch (IOException ignore) {}