From c76abd39c09ee1597946cd0881e7eb0de588e9b6 Mon Sep 17 00:00:00 2001 From: Skullian <133133667+Skullians@users.noreply.github.com> Date: Tue, 24 Dec 2024 19:38:39 +0000 Subject: [PATCH] Fix: dependency handler --- .../skullian/skyfactions/paper/util/DependencyHandler.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) {