@Override
 public void addContent(PdfPTable table, Font font, IMagicStats stats) {
   if (stats == null) {
     table.addCell(createTextCell(font, ""));
   } else {
     table.addCell(createTextCell(font, stats.getNameString(resources)));
   }
 }
 @Override
 public void addContent(PdfPTable table, Font font, IMagicStats stats) {
   String text = stats == null ? null : stats.getType(resources);
   table.addCell(createTextCell(font, text));
 }