}
}
// make sure is a subset of player commands
for (PlayerCommands.RequiresArguments command : PlayerCommands.RequiresArguments.values()) {
PlayerCommands ply = null;
try {
ply = PlayerCommands.valueOf(command.toString());
} catch (Exception e) {}
if(ply==null) fail(" not a sub-set of playerCommands: "+command.toString());
}
// make sure is a subset of player commands
for (PlayerCommands.AdminCommands command : PlayerCommands.AdminCommands.values()) {
PlayerCommands ply = null;
try {
ply = PlayerCommands.valueOf(command.toString());
} catch (Exception e) {}
if(ply==null) fail(" not a sub-set of PlayerCommand: "+command.toString());
}
// make sure is a subset of player commands
for (PlayerCommands.HelpText command : PlayerCommands.HelpText.values()) {
PlayerCommands ply = null;
try {
ply = PlayerCommands.valueOf(command.toString());
} catch (Exception e) {}
if(ply==null) fail(" not a sub-set of playerCommands: "+command.toString());
}