samolego / HealthCare

Neat serverside mob health tags.
https://modrinth.com/mod/healthcare
MIT License
8 stars 3 forks source link

Fix missing healthbar in freshly loaded chunks. #15

Closed Estecka closed 10 months ago

Estecka commented 10 months ago

Fixes an issue whereby healthbar would not immediately appear on mobs from a freshly loaded chunk. E.g, upon joining the world, changing dimension, or after traveling a long distance.

The injection in sendPacket now also scans the content of ClientboundBundlePacket's. They contain packets that needed to be altered, and previously flew under the radar.

This PR is for 1.20. This branch acts as a backport for 1.19.4

samolego commented 10 months ago

Thank you so much! Sorry for late reply, I was away.

I usually only release for newer versions, if you're ok with that.

Estecka commented 10 months ago

No problem, I only made that port for my own use, and I have already built my own jar.