From 0daa697a4cb1f87c7c77c28f9e22607ca5d1fe37 Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Thu, 2 Dec 2021 10:15:59 -0500 Subject: [PATCH] Comment/import fixes --- core/src/main/java/org/geysermc/geyser/FloodgateKeyLoader.java | 3 +-- .../main/java/org/geysermc/geyser/session/cache/BossBar.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/FloodgateKeyLoader.java b/core/src/main/java/org/geysermc/geyser/FloodgateKeyLoader.java index 73b1cd0fa..df7a049c6 100644 --- a/core/src/main/java/org/geysermc/geyser/FloodgateKeyLoader.java +++ b/core/src/main/java/org/geysermc/geyser/FloodgateKeyLoader.java @@ -25,9 +25,8 @@ package org.geysermc.geyser; -import org.geysermc.geyser.GeyserLogger; -import org.geysermc.geyser.session.auth.AuthType; import org.geysermc.geyser.configuration.GeyserJacksonConfiguration; +import org.geysermc.geyser.session.auth.AuthType; import org.geysermc.geyser.text.GeyserLocale; import java.nio.file.Files; diff --git a/core/src/main/java/org/geysermc/geyser/session/cache/BossBar.java b/core/src/main/java/org/geysermc/geyser/session/cache/BossBar.java index ffb98c958..3d1e11db9 100644 --- a/core/src/main/java/org/geysermc/geyser/session/cache/BossBar.java +++ b/core/src/main/java/org/geysermc/geyser/session/cache/BossBar.java @@ -59,7 +59,7 @@ public class BossBar { bossEventPacket.setAction(BossEventPacket.Action.CREATE); bossEventPacket.setTitle(MessageTranslator.convertMessage(title, session.getLocale())); bossEventPacket.setHealthPercentage(health); - bossEventPacket.setColor(color); //ignored by client + bossEventPacket.setColor(color); bossEventPacket.setOverlay(overlay); bossEventPacket.setDarkenSky(darkenSky);