src/main/java/com/davidcubesvk/repairItem/utils/Repairer.java
/**
     * Repairs by the given content. If the specified content does not represent a content (e.g.
     * {@link com.davidcubesvk.repairItem.command.Command.Function#HELP},
     * {@link com.davidcubesvk.repairItem.command.Command.Function#RELOAD} or <code>null</code>, the method returns
     * <code>null</code>.
     *
     * @param player  the player to run the repair for
     * @param content the content to repair
     * @return the repair result
     */
Repairs by the given content. If the specified content does not represent a content (e.g.

@param player  the player to run the repair for
@param content the content to repair
@return the repair result
Repairs by the given content . If the specified content does not represent a content ( e . g . @param player the player to run the repair for @param content the content to repair @return the repair result
public RepairResult repair(Player player, Command.Function content) {
        switch (content) {
            case ALL:
                return repairAll(player);
            case INVENTORY:
                return repairInventory(player);
            case ARMOR:
                return repairArmor(player);
            case HOT_BAR:
                return repairHotBar(player);
            case BOTH_HANDS:
                return repairBothHands(player);
            case MAIN_HAND:
                return repairHand(player, true);
            case OFF_HAND:
                return repairHand(player, false);
        }
        return null;
    }
public RepairResult repair ( Player player , Command . Function content ) { switch ( content ) { case ALL : return repairAll ( player ) ; case INVENTORY : return repairInventory ( player ) ; case ARMOR : return repairArmor ( player ) ; case HOT_BAR : return repairHotBar ( player ) ; case BOTH_HANDS : return repairBothHands ( player ) ; case MAIN_HAND : return repairHand ( player , true ) ; case OFF_HAND : return repairHand ( player , false ) ; } return null ; }
Repairs by the given content.
Repairs by the given content .
//Switch