Expected behavior
The damage should go to the dragon - that's right.
Observed/Actual behavior
Damage to dragon does not go through correctly.
Steps/models to reproduce
Steps to reproduce the bug:
- Create a new map and go to the world_the_end to the dragon.
- Restart server command /stop
- We launch the server and try to hit the dragon with a sword, almost no damage is done. Doesn't register hits
- When the dragon descends to the portal and is above it, it cannot be hit.
- Sometimes the damage goes correctly, but it needs to be done several server restarts. Every server restart the damage to the dragon works very strangely.
Plugin and Datapack List

Folia version
This server is running Folia version 1.21-DEV-dev/1.21@2b8c879 (2024-08-03T17:43:23Z) (Implementing API version 1.21-R0.1-SNAPSHOT)
Other
No response