Skip to content

Commit

Permalink
Fix UpdateChecker
Browse files Browse the repository at this point in the history
  • Loading branch information
Refrac authored Aug 14, 2023
1 parent e561863 commit f1e641d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/me/refracdevelopment/simpletags/SimpleTags.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void enable() {
}

// Make sure the server has NBTAPI
if (!pluginManager.isPluginEnabled("NBTAPI")) {
if (pluginManager.getPlugin("NBTAPI") == null) {
Color.log("&cPlease install NBTAPI onto your server to use this plugin.");
pluginManager.disablePlugin(this);
return;
Expand Down Expand Up @@ -148,7 +148,7 @@ private void loadListeners() {

public void updateCheck(CommandSender sender, boolean console) {
try {
String urlString = "https://updatecheck.refracdev.ml";
String urlString = "https://refracdev-updatecheck.refracdev.workers.dev/";
URL url = new URL(urlString);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");
Expand Down

0 comments on commit f1e641d

Please sign in to comment.