From 34f75bfeb7feb3642aa218554370733c13efba38 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 10 Oct 2021 08:26:31 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20345=C2=B0=20Bossbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lixfel --- FightSystem_Core/src/de/steamwar/fightsystem/utils/FightUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightUI.java b/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightUI.java index 79e68d1..bf909db 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightUI.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/utils/FightUI.java @@ -164,7 +164,7 @@ public class FightUI { angle = ((angle % 360) + 360) % 360; for(BossBarType type : values()) { - if(type.minAngle < type.maxAngle ? type.minAngle <= angle && angle < type.maxAngle : type.minAngle < angle || angle <= type.maxAngle) + if(type.minAngle < type.maxAngle ? type.minAngle <= angle && angle < type.maxAngle : type.minAngle <= angle || angle < type.maxAngle) return type; }