fixed item progression tick when using broken item
@@ -101,8 +101,11 @@ public class ItemModularHandheld extends ItemModular {
public boolean onBlockDestroyed(ItemStack itemStack, World world, IBlockState state, BlockPos pos, EntityLivingBase entity) {
if (state.getBlockHardness(world, pos) > 0) {
applyDamage(blockDestroyDamage, itemStack, entity);
+
+ if (!isBroken(itemStack)) {
tickProgression(entity, itemStack, 1);
}
+ }
if (!world.isRemote) {
int intuitLevel = getEffectLevel(itemStack, ItemEffect.intuit);
