Fixed bug with Blast Mining increasing TNT damage.

This commit is contained in:
GJ 2013-03-10 21:30:35 -04:00
parent 9eba2c683b
commit 3a7d88db4f
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ Version 1.4.03-dev
= Fixed bug with Smelting not properly tracking furnaces = Fixed bug with Smelting not properly tracking furnaces
= Fixed bug with Blast Mining not dropping blocks correctly = Fixed bug with Blast Mining not dropping blocks correctly
= Fixed bug with custom blocks not working = Fixed bug with custom blocks not working
= Fixed bug with Blast Mining increasing TNT damage.
= Fixed bug where Blast Mining was awarding too much XP = Fixed bug where Blast Mining was awarding too much XP
= Fixed bug where triple drops would award twice the amount of experience in Herbalism and Mining = Fixed bug where triple drops would award twice the amount of experience in Herbalism and Mining
= Fixed bug where Green Thumb would consume wheat instead of seeds = Fixed bug where Green Thumb would consume wheat instead of seeds

View File

@ -173,7 +173,7 @@ public class MiningManager extends SkillManager{
} }
public int processDemolitionsExpertise(int damage) { public int processDemolitionsExpertise(int damage) {
return (int) (damage * (100.0 - getBlastDamageModifier())); return (int) (damage * ((100.0D - getBlastDamageModifier()) / 100.0D));
} }
/** /**