reset color

This commit is contained in:
Marco 2020-04-18 15:49:28 +02:00
parent 7cd941e5d6
commit de9c9b3dfa

View file

@ -41,7 +41,7 @@ public class JavaBossBarTranslator extends PacketTranslator<ServerBossBarPacket>
BossBar bossBar = session.getEntityCache().getBossBar(packet.getUuid());
switch (packet.getAction()) {
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);
break;
case UPDATE_TITLE: