forked from GeyserMC/Geyser
reset color
This commit is contained in:
parent
7cd941e5d6
commit
de9c9b3dfa
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class JavaBossBarTranslator extends PacketTranslator<ServerBossBarPacket>
|
||||||
BossBar bossBar = session.getEntityCache().getBossBar(packet.getUuid());
|
BossBar bossBar = session.getEntityCache().getBossBar(packet.getUuid());
|
||||||
switch (packet.getAction()) {
|
switch (packet.getAction()) {
|
||||||
case ADD:
|
case ADD:
|
||||||
bossBar = new BossBar(session, packet.getTitle(), packet.getHealth(), Color.RED.getRGB(), 1, 0);
|
bossBar = new BossBar(session, packet.getTitle(), packet.getHealth(), 0, 1, 0);
|
||||||
session.getEntityCache().addBossBar(packet.getUuid(), bossBar);
|
session.getEntityCache().addBossBar(packet.getUuid(), bossBar);
|
||||||
break;
|
break;
|
||||||
case UPDATE_TITLE:
|
case UPDATE_TITLE:
|
||||||
|
|
Loading…
Reference in a new issue