diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_list.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_list.java index eb1923e2..fd060efc 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_list.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_list.java @@ -107,7 +107,7 @@ public class Command_list extends FreedomCommand } final Displayable display = plugin.rm.getDisplay(p); - if (!senderIsConsole && plugin.al.isAdmin(playerSender) && plugin.al.getAdmin(playerSender).getOldAdminMode()) + if (!senderIsConsole && plugin.al.isAdmin(playerSender) && plugin.al.getAdmin(playerSender).getOldTags()) { n.add(getOldPrefix(display) + p.getName()); } diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_oldadminmode.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_oldadminmode.java deleted file mode 100644 index 933f9f6b..00000000 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_oldadminmode.java +++ /dev/null @@ -1,26 +0,0 @@ -package me.totalfreedom.totalfreedommod.command; - -import me.totalfreedom.totalfreedommod.admin.Admin; -import me.totalfreedom.totalfreedommod.rank.Rank; -import org.bukkit.command.Command; -import org.bukkit.command.CommandSender; -import org.bukkit.entity.Player; - -@CommandPermissions(level = Rank.SUPER_ADMIN, source = SourceType.ONLY_IN_GAME) -@CommandParameters(description = "Toggle old admin formatting", usage = "/", aliases = "oam") -public class Command_oldadminmode extends FreedomCommand -{ - - @Override - public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) - { - - Admin admin = plugin.al.getAdmin(playerSender); - admin.setOldAdminMode(!admin.getOldAdminMode()); - plugin.al.save(); - plugin.al.updateTables(); - msg("Old admin mode has been " + (admin.getOldAdminMode() ? "enabled." : "disabled.")); - - return true; - } -}