[SPIGOT-444] Potion Effect Health boost Created: 18/Jan/15  Updated: 20/Jul/16  Resolved: 20/Jul/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: quienti Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: 1.8, bukkit
Environment:

bukkit and craftbukkit 1.8R0.1



 Description   

When I add health_Boost to a player

player.addPotionEffect(new PotionEffect(PotionEffectType.HEALTH_BOOST, 2000000, 4), false);

My hunger bar restore hunger points but it's just a graphic bug, my player don't restore realy hunger points...



 Comments   
Comment by md_5 [ 20/Jul/16 ]

Doesn't appear to be an issue anymore

Comment by KuroHasu62 [ 28/Jan/15 ]

Yeah, I've got the same issue too, when using

p.setMaxHealth(40D);
p.setHealth(p.getMaxHealth());

the hunger bar of my character depletes when running, jumping, and all, but it gets regenerated (visually), the client considers it to be at the visual level, but the accurate level is still registered by my character.

Example :
I've got my character with its full hunger bar. I start sprinting, jumping and all, so it depletes. Usually, after your character gets to a hunger level of 6 or under, you cannot sprint anymore. But given the visual level going higher than 6, I can sprint again. Then I lose one point and get set to 5 hunger points.

I hope that it is clear with the example though ^^'

I hope this issue is easy to deal with though, thanks a lot for the work done on this =)

Kuro.

Comment by Thinkofname [ 25/Jan/15 ]

Sounds like its client side, can anyone confirm?

Comment by quienti [ 24/Jan/15 ]

Same problem with this :

p.setMaxHealth(40D);
p.setHealth(p.getMaxHealth());

Generated at Sat Apr 05 06:16:29 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.