Skip to content

Fix one punch man not killing mobs in some cases#1762

Merged
granny merged 2 commits into
ver/26.1.2from
unknown repository
Apr 12, 2026
Merged

Fix one punch man not killing mobs in some cases#1762
granny merged 2 commits into
ver/26.1.2from
unknown repository

Conversation

@ghost

@ghost ghost commented Mar 4, 2026

Copy link
Copy Markdown

This happens if max_health attribute and entity's health are set higher than 9999F.

The fix would be to always set the damage amount to the entity's health, so no matter its health, it will get killed.

This happens if max_health attribute and entity's health are set higher than 9999F
@granny granny changed the base branch from ver/1.21.11 to ver/26.1.2 April 12, 2026 21:49

@granny granny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@granny granny merged commit e64b1b2 into PurpurMC:ver/26.1.2 Apr 12, 2026
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.

1 participant