Skip to content

Commit

Permalink
remove hook system
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Oct 3, 2024
1 parent beb2cc6 commit 0c78b9f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 116 deletions.
9 changes: 0 additions & 9 deletions src/main/java/me/hsgamer/yatpa/YATPA.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import me.hsgamer.yatpa.config.MainConfig;
import me.hsgamer.yatpa.config.MessageConfig;
import me.hsgamer.yatpa.cooldown.CooldownManager;
import me.hsgamer.yatpa.hook.HookManager;
import me.hsgamer.yatpa.hook.impl.GrimACHook;
import me.hsgamer.yatpa.listener.PlayerListener;
import me.hsgamer.yatpa.request.RequestManager;
import me.hsgamer.yatpa.teleport.TeleportManager;
Expand Down Expand Up @@ -42,13 +40,6 @@ public void enable() {
registerCommand(new TeleportHereCommand(this));
registerCommand(new TeleportAcceptCommand(this));
registerCommand(new TeleportDenyCommand(this));

HookManager hookManager = new HookManager(this);
hookManager.addHook("GrimAC", GrimACHook.class);
hookManager.registerAll();
hookManager.getRegisteredHooks().forEach((hook) -> {
getLogger().info("Enabled a Hook for " + hook.getHookPlugin());
});
}

@Override
Expand Down
21 changes: 0 additions & 21 deletions src/main/java/me/hsgamer/yatpa/hook/Hook.java

This file was deleted.

40 changes: 0 additions & 40 deletions src/main/java/me/hsgamer/yatpa/hook/HookManager.java

This file was deleted.

46 changes: 0 additions & 46 deletions src/main/java/me/hsgamer/yatpa/hook/impl/GrimACHook.java

This file was deleted.

0 comments on commit 0c78b9f

Please sign in to comment.