Skip to content

Commit

Permalink
allow running on paper
Browse files Browse the repository at this point in the history
  • Loading branch information
YouHaveTrouble committed Aug 8, 2023
1 parent 886853f commit b6a4f9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/purpurmc/purpurextras/PurpurExtras.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ public void onEnable() {
try {
Class.forName("org.purpurmc.purpur.PurpurConfig");
} catch (ClassNotFoundException e) {
getLogger().warning("---------------------------------------------");
getLogger().warning("Some features may not work without Purpur!");
getLogger().warning("PurpurExtras was created to compliment Purpur, and it appears you're not using it!");
getLogger().warning("Purpur is a drop-in replacement for " + getServer().getName() + ".");
getLogger().warning("You can get Purpur on https://purpurmc.org/downloads");
this.getServer().getPluginManager().disablePlugin(this);
return;
getLogger().warning("---------------------------------------------");
}

instance = this;
Expand Down

0 comments on commit b6a4f9d

Please sign in to comment.