Merge branch 'master' into mg_incomplete

This commit is contained in:
StevenLawson 2013-08-12 10:05:01 -04:00
commit 41ed416a51
3 changed files with 7 additions and 8 deletions

View File

@ -14,8 +14,10 @@ import org.bukkit.entity.Player;
@CommandParameters(description = "Sets yourself a prefix", usage = "/<command> <<prefix> | off | clear <player> | clearall>") @CommandParameters(description = "Sets yourself a prefix", usage = "/<command> <<prefix> | off | clear <player> | clearall>")
public class Command_tag extends TFM_Command public class Command_tag extends TFM_Command
{ {
public static final List<String> FORBIDDEN_WORDS = Arrays.asList(new String[]
public static final List<String> FORBIDDEN_WORDS = Arrays.asList(new String[]{"admin", "owner", "moderator", "developer"}); {
"admin", "owner", "moderator", "developer"
});
@Override @Override
public boolean run(CommandSender sender, Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) public boolean run(CommandSender sender, Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
@ -114,5 +116,4 @@ public class Command_tag extends TFM_Command
return false; return false;
} }
} }

View File

@ -522,5 +522,4 @@ public class TFM_PlayerData
{ {
return this.tag; return this.tag;
} }
} }

View File

@ -962,7 +962,6 @@ public class TFM_Util
while (checkClass.getSuperclass() != Object.class && ((checkClass = checkClass.getSuperclass()) != null)); while (checkClass.getSuperclass() != Object.class && ((checkClass = checkClass.getSuperclass()) != null));
return null; return null;
} }
public static final List<ChatColor> COLOR_POOL = Arrays.asList( public static final List<ChatColor> COLOR_POOL = Arrays.asList(
ChatColor.DARK_BLUE, ChatColor.DARK_BLUE,
ChatColor.DARK_GREEN, ChatColor.DARK_GREEN,