diff --git a/src/main/java/net/gravityfox/foxguard/handlers/GlobalHandler.java b/src/main/java/net/gravityfox/foxguard/handlers/GlobalHandler.java index 0cff9a2..b4abcbf 100644 --- a/src/main/java/net/gravityfox/foxguard/handlers/GlobalHandler.java +++ b/src/main/java/net/gravityfox/foxguard/handlers/GlobalHandler.java @@ -89,7 +89,7 @@ public boolean modify(String arguments, InternalCommandState state, CommandSourc } @Override - public Tristate isAllowed(User user, Flags flag, Event event) { + public Tristate handle(User user, Flags flag, Event event) { return Tristate.TRUE; } diff --git a/src/main/java/net/gravityfox/foxguard/handlers/IHandler.java b/src/main/java/net/gravityfox/foxguard/handlers/IHandler.java index 6c91733..9674d55 100644 --- a/src/main/java/net/gravityfox/foxguard/handlers/IHandler.java +++ b/src/main/java/net/gravityfox/foxguard/handlers/IHandler.java @@ -39,7 +39,7 @@ */ public interface IHandler extends IFGObject, Comparable { - Tristate isAllowed(@Nullable User user, Flags flag, Event event); + Tristate handle(@Nullable User user, Flags flag, Event event); boolean isEnabled(); diff --git a/src/main/java/net/gravityfox/foxguard/handlers/PassiveHandler.java b/src/main/java/net/gravityfox/foxguard/handlers/PassiveHandler.java index acc2c23..d18a6aa 100644 --- a/src/main/java/net/gravityfox/foxguard/handlers/PassiveHandler.java +++ b/src/main/java/net/gravityfox/foxguard/handlers/PassiveHandler.java @@ -71,7 +71,7 @@ public PassiveHandler(String name, int priority, CallbackHashMap