Added Acidic, Wild and Hex to the developer list

This commit is contained in:
Jerom van der Sar 2013-06-03 23:06:23 +02:00
parent 95805dd9c1
commit 6519ead121
4 changed files with 11 additions and 9 deletions

View File

@ -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.VERSION=2.17
program.BUILDNUM=212 program.BUILDNUM=214
program.BUILDDATE=05/20/2013 03\:11 PM program.BUILDDATE=06/03/2013 11\:06 PM

View File

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit! #Build Number for ANT. Do not edit!
#Mon May 20 15:11:32 CEST 2013 #Mon Jun 03 23:06:55 CEST 2013
build.number=213 build.number=215

View File

@ -72,7 +72,7 @@ public class Command_list extends TFM_Command
prefix = (ChatColor.GOLD + "[SA]"); 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]"); prefix = (ChatColor.DARK_PURPLE + "[Dev]");
} }

View File

@ -27,6 +27,7 @@ public class TFM_Util
private static final Map<String, Integer> eject_tracker = new HashMap<String, Integer>(); private static final Map<String, Integer> eject_tracker = new HashMap<String, Integer>();
public static final Map<String, EntityType> mobtypes = new HashMap<String, EntityType>(); public static final Map<String, EntityType> mobtypes = new HashMap<String, EntityType>();
public static final List<String> STOP_COMMANDS = Arrays.asList("stop", "off", "end", "halt", "die"); public static final List<String> STOP_COMMANDS = Arrays.asList("stop", "off", "end", "halt", "die");
public static final List<String> DEVELOPERS = Arrays.asList("Madgeek1540", "DarthSalamon", "AcidicCyanide", "wild1145", "HeXeRei452");
static static
{ {
@ -979,7 +980,9 @@ public class TFM_Util
String prefix; String prefix;
if (senderIsConsole) { if (senderIsConsole) {
prefix = ChatColor.BLUE + "(Console)"; prefix = ChatColor.BLUE + "(Console)";
} else { }
else
{
if (TFM_SuperadminList.isSeniorAdmin(sender)) if (TFM_SuperadminList.isSeniorAdmin(sender))
{ {
prefix = ChatColor.LIGHT_PURPLE + "(SrA)"; prefix = ChatColor.LIGHT_PURPLE + "(SrA)";
@ -987,8 +990,7 @@ public class TFM_Util
{ {
prefix = ChatColor.GOLD + "(SA)"; prefix = ChatColor.GOLD + "(SA)";
} }
if (sender.getName().equalsIgnoreCase("Madgeek1450") if (DEVELOPERS.contains(sender.getName()))
|| sender.getName().equalsIgnoreCase("DarthSalamon"))
{ {
prefix = ChatColor.DARK_PURPLE + "(Dev)"; prefix = ChatColor.DARK_PURPLE + "(Dev)";
} }