Skip to content

Commit

Permalink
Fix: dependency handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Skullians authored Dec 24, 2024
1 parent e35dfef commit c76abd3
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import net.skullian.skyfactions.paper.hooks.ItemJoinHook;
import net.skullian.skyfactions.paper.hooks.PlaceholderAPIHook;
import net.skullian.skyfactions.paper.hooks.VaultAPIHook;
import net.skullian.skyfactions.paper.hooks.CoreProtectHook;

import java.util.ArrayList;

Expand Down Expand Up @@ -67,8 +68,10 @@ public static void init() {
}

if (isPluginEnabled("CoreProtect")) {
SLogger.setup();
}
SLogger.setup("Found {} installed on the server.", false, "<#05eb2f>CoreProtect<#4294ed>");
CoreProtectHook.init();
enabledDeps.add("CoreProtect");
} else alert("CoreProtect");
}

public static boolean isEnabled(String name) {
Expand Down

0 comments on commit c76abd3

Please sign in to comment.