aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-04-11 10:17:06 +0900
committersyeyoung <cyoung06@naver.com>2023-04-11 10:17:06 +0900
commite58907019e2eea057586841d625fe018ce42cd02 (patch)
treec7265e67b1007eb8b24c36d7a89c402a67b5f69c
parent7074e30ba1ba8819a2982fd7f013f51b9896de61 (diff)
parenta6b100947144656ea7fc756081da1baebaba54b3 (diff)
downloadSkyblock-Dungeons-Guide-e58907019e2eea057586841d625fe018ce42cd02.tar.gz
Skyblock-Dungeons-Guide-e58907019e2eea057586841d625fe018ce42cd02.tar.bz2
Skyblock-Dungeons-Guide-e58907019e2eea057586841d625fe018ce42cd02.zip
Merge remote-tracking branch 'origin/dg4.0' into dg4.0
-rwxr-xr-xmod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java1
1 files changed, 1 insertions, 0 deletions
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");
}