dmulloy2 / SwornRPG

The mcMMO alternative!
http://dev.bukkit.org/bukkit-plugins/swornrpg/
GNU General Public License v3.0
6 stars 3 forks source link

None of these if statementes are necessary anymore #8

Closed aahaselgrove closed 11 years ago

aahaselgrove commented 11 years ago

Because of the way orange did %durability... it was weird, but these are no longer necessary. Also, why do you put amtIron -= 1.0D at the end of only diamond and gold? If you want to give the user 1 less ingot for any salvage, that will send them the wrong error message if they do not have enough durability left to get a single ingot (as the if statements I deleted were <1, not <=1).