From a6b100947144656ea7fc756081da1baebaba54b3 Mon Sep 17 00:00:00 2001 From: Loudbook Date: Mon, 10 Apr 2023 21:14:32 -0400 Subject: Update SkyblockStatus.java (#375) Signed-off-by: Loudbook --- mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java index e071337d..6b6aa20d 100755 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java @@ -98,6 +98,7 @@ public class SkyblockStatus { Minecraft mc = Minecraft.getMinecraft(); if (mc == null || mc.thePlayer == null) return false; String clientBrand = mc.thePlayer.getClientBrand(); + if (clientBrand == null) return false; if (!mc.isSingleplayer() && mc.loadingScreen != null) { return clientBrand.startsWith("Hypixel BungeeCord"); } -- cgit