mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[TASK] Apply requested changes
This commit is contained in:
@@ -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/";
|
||||
}
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user