diff --git a/src/com/redstoner/modules/afk/AFK.java b/src/com/redstoner/modules/afk/AFK.java index c2d330e..393c487 100644 --- a/src/com/redstoner/modules/afk/AFK.java +++ b/src/com/redstoner/modules/afk/AFK.java @@ -21,14 +21,12 @@ import com.nemez.cmdmgr.Command; import com.redstoner.annotations.AutoRegisterListener; import com.redstoner.annotations.Commands; import com.redstoner.annotations.Version; -import com.redstoner.coremods.moduleLoader.ModuleLoader; import com.redstoner.misc.BroadcastFilter; import com.redstoner.misc.CommandHolderType; import com.redstoner.misc.Main; import com.redstoner.misc.Utils; import com.redstoner.modules.Module; import com.redstoner.modules.datamanager.DataManager; -import com.redstoner.modules.ignore.Ignore; @Commands(CommandHolderType.File) @AutoRegisterListener @@ -201,8 +199,7 @@ class CustomListener implements Listener, EventExecutor public void unafk(CommandSender sender) { DataManager.setState(sender, "afk", false); - Utils.broadcast("§7 * ", Utils.getName(sender) + "§7 is no longer AFK", - ModuleLoader.exists("Ignore")? Ignore.getIgnoredBy(sender) : null); + Utils.broadcast("§7 * ", Utils.getName(sender) + "§7 is no longer AFK", null); } public boolean isafk(CommandSender sender)