Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TiC battle sign not working in offhand #55

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Fix TiC battle sign not working in offhand #55

merged 1 commit into from
Jan 22, 2025

Conversation

Lyfts
Copy link
Member

@Lyfts Lyfts commented Jan 22, 2025

TiC handles the battle sign interactions during LivingHurtEvent and LivingAttackEvent, these events can't be safely posted twice like we do with the PlayerInteractEvent as all sorts of things are mutated during them.

We can however safely re-invoke it for some event listeners such as TiC which enables them to also check the offhand item.
The same idea can be applied to EFR's totem check along with TiC's crossbow crosshair rendering and the mixins we were using for those previously can be removed.

Closes #52

@Lyfts Lyfts requested a review from a team January 22, 2025 11:09
@Lyfts Lyfts merged commit 8fc5639 into master Jan 22, 2025
1 check passed
@Lyfts Lyfts deleted the fix-battlesign branch January 22, 2025 18:23
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.

Battle sign doesnt work again
2 participants