Orderly (Fabric)

Orderly (Fabric)

164k Downloads

Maxhealth shows wrong when the entity's maxhealth is greater than 1024

bluesadi opened this issue · 5 comments

commented

When the entity's maxhealth is greater than 1024,no matter what the maxhealth is,the bar will show 1024

commented

got any examples so I can test?

commented

I use MythicMob(a plugin)to create a mob whose maxhealth is 3000,but the bar shows that the mob's health and maxhealth is both 1024 when the mob's current health is greater than 1024.When the mobs'health is lower than 1024,the health shows correctly,but the maxhealth shows still 1024

commented

here
example
actually the mob's maxhealth is 3000

commented

hm.. no idea what could cause this, unless the plugin was sending wrong values to the client to make it not freak out because hte mob has too much health.

would be helpful if you could reproduce this in a singleplayer world, to make sure it's not the plugin acting weird.

commented

I guess it's because the getHealth method in mcp works wrong...