This commit is contained in:
nossr50
2024-11-04 19:05:41 -08:00
parent 04007f6dbc
commit 406a7ba694
3 changed files with 6 additions and 5 deletions

View File

@ -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());