bspkrs-mods / bspkrsCore

A Minecraft mod to hold utility classes used in all the mods I develop/maintain.
30 stars 40 forks source link

StatusEffect/ArmorStatus flicker when playerlist is open #8

Closed Brottweiler closed 10 years ago

Brottweiler commented 10 years ago

When pressing the key to open the playerlist, the StatusEffectHUD and ArmorStatusHUD are flickering, until you press a key like forward. In both of the mods, I have "show in chat" set to false. They should, first of all, not show up in the tab list when I have "show in chat" on false, maybe that's why they flicker?

bspkrs commented 10 years ago

Thanks, I'll have a look.

On Apr 21, 2014, at 5:44 AM, Christoffer Tibell notifications@github.com wrote:

When pressing the key to open the playerlist, the StatusEffectHUD and ArmorStatusHUD are flickering, until you press a key like forward. In both of the mods, I have "show in chat" set to false. They should, first of all, not show up in the tab list when I have "show in chat" on false, maybe that's why they flicker?

— Reply to this email directly or view it on GitHub.

bspkrs commented 10 years ago

The showInChat option only controls the display when you have the chat gui open (where you can type to send chat).

I've been unable to reproduce this... can you post a screenshot of it?

Brottweiler commented 10 years ago

Huh... Actually, I just tried it out now, and what do you know. It doesn't happen. I did however update the mods a day ago or so, when you released a new version. Maybe that fixed it...

bspkrs commented 10 years ago

Thanks!

Brottweiler commented 10 years ago

This is still an issue, and I think I know why it happens.

When you open the playerlist, The status hud's will flicker once, when you open playerlist. On this perticular server, the playerlist has a timer. I think the Status HUD mods flicker off/on everytime the playerlist updates.

Try go on either us.oc.tc or eu.oc.tc, join a server, put on armor (you are in creative in spectator mode) then hold the playerlist key.

bspkrs commented 10 years ago

Just tried what you suggested... it only seems to flicker once right when you first press the playerlist key.

bspkrs commented 10 years ago

Ok, I figured it out. I'll push out fixes for the 3 HUD mods today.