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

EvilCraft triggers skeletons to skip their attack delay #1033

Closed
rubensworks opened this issue Jul 20, 2024 · 1 comment
Closed

EvilCraft triggers skeletons to skip their attack delay #1033

rubensworks opened this issue Jul 20, 2024 · 1 comment

Comments

@rubensworks
Copy link
Member

Issue type:

  • 🐛 Bug

Short description:

Steps to reproduce the problem:

Discovered on ForgeCraft:

The bow isn't actually different, but AbstractSkeleton.setItemSlot doesn't check if the equipment changed before resetting the attack goal. This causes it to skip the attack delay.

This should probably only trigger if the item has the enchant, or only if it actually modified the item:


Versions:

  • This mod:
  • Minecraft: 1.21
  • Forge:

Log file:

@rubensworks
Copy link
Member Author

Thanks for reporting!

@rubensworks rubensworks moved this from To Do to To Do (Major) in Maintenance Jul 20, 2024
@github-project-automation github-project-automation bot moved this from To Do (Major) to Done in Maintenance Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant