diff --git a/paper/src/main/java/net/skullian/skyfactions/paper/util/DependencyHandler.java b/paper/src/main/java/net/skullian/skyfactions/paper/util/DependencyHandler.java index cf02a7e7..2aec89b0 100644 --- a/paper/src/main/java/net/skullian/skyfactions/paper/util/DependencyHandler.java +++ b/paper/src/main/java/net/skullian/skyfactions/paper/util/DependencyHandler.java @@ -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; @@ -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) {