diff --git a/appinfo.properties b/appinfo.properties index e672e774..3d401e61 100644 --- a/appinfo.properties +++ b/appinfo.properties @@ -1,5 +1,5 @@ -#Mon, 20 May 2013 15:11:32 +0200 +#Mon, 03 Jun 2013 23:06:55 +0200 program.VERSION=2.17 -program.BUILDNUM=212 -program.BUILDDATE=05/20/2013 03\:11 PM +program.BUILDNUM=214 +program.BUILDDATE=06/03/2013 11\:06 PM diff --git a/buildnumber.properties b/buildnumber.properties index 0d358756..039ae3cf 100644 --- a/buildnumber.properties +++ b/buildnumber.properties @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Mon May 20 15:11:32 CEST 2013 -build.number=213 +#Mon Jun 03 23:06:55 CEST 2013 +build.number=215 diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_list.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_list.java index 0491edb5..08afcd0a 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_list.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_list.java @@ -72,7 +72,7 @@ public class Command_list extends TFM_Command prefix = (ChatColor.GOLD + "[SA]"); } - if (p.getName().equalsIgnoreCase("madgeek1450") || p.getName().equalsIgnoreCase("darthsalamon")) + if (TFM_Util.DEVELOPERS.contains(p.getName())) { prefix = (ChatColor.DARK_PURPLE + "[Dev]"); } diff --git a/src/me/StevenLawson/TotalFreedomMod/TFM_Util.java b/src/me/StevenLawson/TotalFreedomMod/TFM_Util.java index 49163739..8142718d 100644 --- a/src/me/StevenLawson/TotalFreedomMod/TFM_Util.java +++ b/src/me/StevenLawson/TotalFreedomMod/TFM_Util.java @@ -27,6 +27,7 @@ public class TFM_Util private static final Map eject_tracker = new HashMap(); public static final Map mobtypes = new HashMap(); public static final List STOP_COMMANDS = Arrays.asList("stop", "off", "end", "halt", "die"); + public static final List DEVELOPERS = Arrays.asList("Madgeek1540", "DarthSalamon", "AcidicCyanide", "wild1145", "HeXeRei452"); static { @@ -979,7 +980,9 @@ public class TFM_Util String prefix; if (senderIsConsole) { prefix = ChatColor.BLUE + "(Console)"; - } else { + } + else + { if (TFM_SuperadminList.isSeniorAdmin(sender)) { prefix = ChatColor.LIGHT_PURPLE + "(SrA)"; @@ -987,8 +990,7 @@ public class TFM_Util { prefix = ChatColor.GOLD + "(SA)"; } - if (sender.getName().equalsIgnoreCase("Madgeek1450") - || sender.getName().equalsIgnoreCase("DarthSalamon")) + if (DEVELOPERS.contains(sender.getName())) { prefix = ChatColor.DARK_PURPLE + "(Dev)"; }