src/main/java/com/davidcubesvk/repairItem/utils/Repairer.java
/**
     * Repairs both hands (off hand only if supported).
     *
     * @param player the player to run the repair for
     * @return the repair result
     */
Repairs both hands (off hand only if supported).
@param player the player to run the repair for
@return the repair result
Repairs both hands ( off hand only if supported ) . @param player the player to run the repair for @return the repair result
public RepairResult repairBothHands(Player player) {
        byte repaired = (byte) (repairHand(player, true).getRepaired() + repairHand(player, false).getRepaired());
        return new RepairResult(repaired > 0 ? RepairResult.Status.SUCCESS : RepairResult.Status.FAIL_GENERALIZED, repaired);
    }
public RepairResult repairBothHands ( Player player ) { byte repaired = ( byte ) ( repairHand ( player , true ) . getRepaired ( ) + repairHand ( player , false ) . getRepaired ( ) ) ; return new RepairResult ( repaired > 0 ? RepairResult . Status . SUCCESS : RepairResult . Status . FAIL_GENERALIZED , repaired ) ; }
Repairs both hands (off hand only if supported).
Repairs both hands ( off hand only if supported ) .
//Repair //Return