From 3a6ae1d530569baf8e1158da6a9ce39bcc9b7191 Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Tue, 21 Dec 2021 19:42:15 +0100 Subject: [PATCH] new purpur package and website --- pom.xml | 2 +- .../java/me/youhavetrouble/purpurextras/PurpurExtras.java | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 01bb3bd..28b9bcf 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.youhavetrouble PurpurExtras - 1.1 + 1.2 jar PurpurExtras diff --git a/src/main/java/me/youhavetrouble/purpurextras/PurpurExtras.java b/src/main/java/me/youhavetrouble/purpurextras/PurpurExtras.java index ddef56b..f48595d 100644 --- a/src/main/java/me/youhavetrouble/purpurextras/PurpurExtras.java +++ b/src/main/java/me/youhavetrouble/purpurextras/PurpurExtras.java @@ -20,12 +20,11 @@ public final class PurpurExtras extends JavaPlugin { @Override public void onEnable() { try { - Class.forName("net.pl3x.purpur.PurpurConfig"); + Class.forName("org.purpurmc.purpur.PurpurConfig"); } catch (ClassNotFoundException e) { getLogger().warning( ChatColor.translateAlternateColorCodes('&', "&x&8&0&5&2&8&0PurpurExtras was created to compliment Purpur, and it appears you're not using it!")); getLogger().warning( ChatColor.translateAlternateColorCodes('&', "&x&8&0&5&2&8&0Purpur is a drop-in replacement for " + getServer().getName()+".")); - getLogger().warning( ChatColor.translateAlternateColorCodes('&', "&x&8&0&5&2&8&0You can get Purpur on https://purpur.pl3x.net/downloads/")); - getServer().getPluginManager().disablePlugin(this); + getLogger().warning( ChatColor.translateAlternateColorCodes('&', "&x&8&0&5&2&8&0You can get Purpur on https://purpurmc.org/downloads")); return; }