Revert "Make exhaustion only apply once"

This reverts commit 6946a70f18feb98b8297b3a68cd0c031c5dac284.
This commit is contained in:
abel1502 2025-06-28 22:41:11 +03:00
parent 6946a70f18
commit a3578e67a0
No known key found for this signature in database
GPG Key ID: 076926596A536338

View File

@ -195,8 +195,6 @@ public class ItemToolAbility extends ItemTool implements IDepthRockTool, IGUIPro
preset.harvestAbility.postHarvestAll(preset.harvestAbilityLevel, world, player);
player.addExhaustion(0.025F);
return true;
}
@ -381,9 +379,7 @@ public class ItemToolAbility extends ItemTool implements IDepthRockTool, IGUIPro
} catch (InvocationTargetException e) {
// Might be possible? Not in practice, though
MainRegistry.logger.error("Failed to capture drops for block " + block, e);
}
player.addExhaustion(-0.025F);
}
}
}