}
@Override
protected void perform(final Player player, final RPAction action) {
final Jail jail = SingletonRepository.getJail();
final String playerName = action.get(TARGET);
if (playerName != null) {
final ArrestWarrant warrant = jail.getWarrant(playerName);
if (warrant != null) {
player.sendPrivateText(warrant.getCriminal() + ": "
+ warrant.getMinutes() + " Minutes because: "
+ warrant.getReason());
} else {
player.sendPrivateText(playerName + " is not in jail");
}
} else {
player.sendPrivateText(jail.listJailed());
}
player.notifyWorldAboutChanges();
}