diff options
author | syeyoung <cyoung06@naver.com> | 2023-04-11 10:17:06 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-04-11 10:17:06 +0900 |
commit | e58907019e2eea057586841d625fe018ce42cd02 (patch) | |
tree | c7265e67b1007eb8b24c36d7a89c402a67b5f69c /mod/src/main/java | |
parent | 7074e30ba1ba8819a2982fd7f013f51b9896de61 (diff) | |
parent | a6b100947144656ea7fc756081da1baebaba54b3 (diff) | |
download | Skyblock-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
Diffstat (limited to 'mod/src/main/java')
-rwxr-xr-x | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/SkyblockStatus.java | 1 |
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"); } |