This is actually not correct.

This commit is contained in:
t00thpick1 2015-11-04 16:31:30 -05:00
parent a5bcc3ce58
commit ac9447d439

View File

@ -91,7 +91,7 @@ public class SalvageManager extends SkillManager {
return;
}
salvageableAmount = Math.min((int) (salvageableAmount * getMaxSalvagePercentage()), 1); // Always get at least something back, if you're capable of salvaging it.
salvageableAmount = Math.max((int) (salvageableAmount * getMaxSalvagePercentage()), 1); // Always get at least something back, if you're capable of salvaging it.
player.setItemInHand(new ItemStack(Material.AIR));
location.add(0, 1, 0);