Skip to content

fix(KillAura): use isAggressive() instead of isAngry() for Enderman#6472

Open
Frko5000 wants to merge 1 commit into
MeteorDevelopment:masterfrom
Frko5000:master
Open

fix(KillAura): use isAggressive() instead of isAngry() for Enderman#6472
Frko5000 wants to merge 1 commit into
MeteorDevelopment:masterfrom
Frko5000:master

Conversation

@Frko5000

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix

Description

isAngry() is server-side only and always returns false on the client, causing angry Endermen to be incorrectly ignored by the ignore-passive option. Changed to isAggressive() which is properly synced to the client.

Related issues

Fixes #6463

How Has This Been Tested?

Tested in-game by angering an Enderman with ignore-passive enabled. KillAura now correctly targets the angry Enderman.

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

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.

Enderman is not filtered by the "Ignore Passive" option in Kill Aura

1 participant