mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 17:23:42 +01:00 
			
		
		
		
	Use blast mining tier when calc drop multiplier
This commit is contained in:
		| @@ -45,7 +45,7 @@ public class MiningCommand extends SkillCommand { | ||||
|             MiningManager miningManager = UserManager.getPlayer(player).getMiningManager(); | ||||
|  | ||||
|             blastMiningRank = miningManager.getBlastMiningTier(); | ||||
|             bonusTNTDrops = miningManager.getDropMultiplier(); | ||||
|             bonusTNTDrops = miningManager.getDropMultiplier(miningManager.getBlastMiningTier()); | ||||
|             oreBonus = percent.format(miningManager.getOreBonus() / 30.0D); // Base received in TNT is 30% | ||||
| //            debrisReduction = percent.format(miningManager.getDebrisReduction() / 30.0D); // Base received in TNT is 30% | ||||
|             blastDamageDecrease = percent.format(miningManager.getBlastDamageModifier() / 100.0D); | ||||
|   | ||||
| @@ -166,7 +166,7 @@ public class MiningManager extends SkillManager { | ||||
|  | ||||
|         float oreBonus = (float) (getOreBonus() / 100); | ||||
|         float debrisReduction = (float) (getDebrisReduction() / 100); | ||||
|         int dropMultiplier = getDropMultiplier(); | ||||
|         int dropMultiplier = getDropMultiplier(getBlastMiningTier()); | ||||
|         float debrisYield = yield - debrisReduction; | ||||
|  | ||||
|         //Drop "debris" based on skill modifiers | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tom Wilkinson
					Tom Wilkinson