Add setting for enable/disable triple drops on super breaker

This commit is contained in:
nossr50
2020-10-08 19:21:39 -07:00
parent d4699c0e20
commit 80f910fc67
4 changed files with 7 additions and 162 deletions

View File

@ -95,7 +95,8 @@ public class MiningManager extends SkillManager {
//TODO: Make this readable
if (RandomChanceUtil.checkRandomChanceExecutionSuccess(getPlayer(), SubSkillType.MINING_DOUBLE_DROPS, true)) {
BlockUtils.markDropsAsBonus(blockState, mcMMOPlayer.getAbilityMode(skill.getAbility()));
boolean useTriple = mcMMOPlayer.getAbilityMode(skill.getAbility()) && AdvancedConfig.getInstance().getAllowMiningTripleDrops();
BlockUtils.markDropsAsBonus(blockState, useTriple);
}
}