Skip to content

Ditch hooks on generic methods, replace a delegate instead#23

Merged
bigkahuna443 merged 1 commit intoCommunalHelper:devfrom
Wartori54:fix-generic-hooks
Feb 21, 2025
Merged

Ditch hooks on generic methods, replace a delegate instead#23
bigkahuna443 merged 1 commit intoCommunalHelper:devfrom
Wartori54:fix-generic-hooks

Conversation

@Wartori54
Copy link

Such hooks have been causing trouble recently when trying to update MonoMod in Everest because it has started to actively look for those and block them. Fortunately here it looks like the same behaviour can be re-implemented through replacing a delegate and capturing the old one.

I have not extensively tested this but it seems like it does work.

@bigkahuna443
Copy link
Collaborator

Looks good, thanks!

@bigkahuna443 bigkahuna443 merged commit d17a0d1 into CommunalHelper:dev Feb 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants