Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
reset color
Dieser Commit ist enthalten in:
Ursprung
7cd941e5d6
Commit
de9c9b3dfa
@ -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:
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren