Skip to content

added call to original operation#31

Merged
Pyrofab merged 1 commit intoLadysnake:masterfrom
Starbidou:patch-1
Oct 1, 2025
Merged

added call to original operation#31
Pyrofab merged 1 commit intoLadysnake:masterfrom
Starbidou:patch-1

Conversation

@Starbidou
Copy link
Copy Markdown
Contributor

The original onRemoved method must be called so that the LivingEntity class can handle the removal of attribute modifiers.

This mixin is given as an example in the main readme of the library but, as is, breaks the default behaviour of effects with modifiers such as minecraft:health_boost and minecraft:absorption.

This is my first PR ever. I hope this is proper etiquette 👋

The original onRemoved method must be called so that the LivingEntity class can handle the removal of attribute modifiers.

This mixin is given as an example in the main readme of the library but, as is, breaks the default behaviour of effects with modifiers such as minecraft:health_boost and minecraft:absorption.
Copy link
Copy Markdown
Member

@Pyrofab Pyrofab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you ! It used to be an Inject, but I had to change it during an update and since it's only test code I never realized it was missing somoething.

@Pyrofab Pyrofab merged commit 714d671 into Ladysnake:master Oct 1, 2025
1 check failed
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