Removed some unnecessary casting.

This commit is contained in:
gmcferrin
2013-01-07 17:08:53 -05:00
parent b8d346d890
commit d69cf09d4e
7 changed files with 14 additions and 14 deletions

View File

@ -244,7 +244,7 @@ public class Repair {
else bonus = (((float) skillLevel) / ((float) REPAIR_MASTERY_MAX_BONUS_LEVEL)) * (((float) REPAIR_MASTERY_CHANCE_MAX) / 100F);
if (Permissions.repairMastery(player)) {
bonus = (((float) repairAmount) * bonus);
bonus = repairAmount * bonus;
repairAmount += (int) bonus;
}