private void saveClass(Player player, String className) {
   ConfigurablePlayerClass pClass = PlayerClassManager.getInstance().getByName(className);
   if (pClass == null) pClass = PlayerClassManager.getInstance().createNewPlayerClass(className);
   pClass.setClassArmor(player.getInventory().getArmorContents());
   pClass.setClassInventory(player.getInventory().getContents());
   MessageManager.messageRecipient(
       player, "Successfully created/updated class '" + className + "'");
 }
 private void deleteClass(Player player, String className) {
   PlayerClassManager pcm = PlayerClassManager.getInstance();
   if (pcm.getByName(className) == null) {
     MessageManager.messageRecipient(player, ChatColor.RED + "That class does not exist");
     return;
   }
   pcm.removeClass(className);
   MessageManager.messageRecipient(player, "Class successfully removed");
 }