mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 10:14:43 +02:00
2.2.024
This commit is contained in:
@ -42,7 +42,6 @@ public class ExcavationManager extends SkillManager {
|
||||
excavationBlockCheck(blockState.getBlock());
|
||||
}
|
||||
|
||||
|
||||
public void excavationBlockCheck(Block block) {
|
||||
int xp = ExperienceConfig.getInstance().getXp(PrimarySkillType.EXCAVATION, block.getType());
|
||||
requireNonNull(block, "excavationBlockCheck: block cannot be null");
|
||||
@ -135,6 +134,7 @@ public class ExcavationManager extends SkillManager {
|
||||
*/
|
||||
public void gigaDrillBreaker(Block block) {
|
||||
excavationBlockCheck(block);
|
||||
excavationBlockCheck(block);
|
||||
|
||||
SkillUtils.handleDurabilityChange(getPlayer().getInventory().getItemInMainHand(),
|
||||
mcMMO.p.getGeneralConfig().getAbilityToolDamage());
|
||||
|
Reference in New Issue
Block a user