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 Clearing Mages's Mace Equipped Flag #28

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

Ruling-0
Copy link

@Ruling-0 Ruling-0 commented Aug 1, 2024

Mage's Mace focus damage is done on a tick update, so it sets a flag when the focus is equipped so that damage is only added once.

This was hard-coded to true which led to removing the focus causing the wand or staff to never be able to use the focus again.

This PR rewrites the hard-coded true to take the isActive function argument that was just going unused.

Tested in nightly 563 with no issues.

fixes GTNewHorizons/GT-New-Horizons-Modpack#16597

@Alastors Alastors merged commit 3effd7f into GTNewHorizons:master Aug 1, 2024
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.

Mage's Mace Only Adds Damage Once
2 participants