Exemplo n.º 1
0
 public void checkNoticeStatus(Penalty penalty, Player player) {
   if (Penalty.NOTICE == penalty.getType()) {
     Penalty note = penaltyDAO.findLastActivePenalty(player.getKey(), Penalty.NOTICE);
     if (note == null) {
       player.setNote(null);
     } else {
       player.setNote(note.getCreated());
     }
   }
 }