diff options
author | Loudbook <loudbooked@gmail.com> | 2023-04-10 21:14:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 10:14:32 +0900 |
commit | a6b100947144656ea7fc756081da1baebaba54b3 (patch) | |
tree | fad5248401ef4147a4e7c0bc126c468cfcc6d757 /mod/src/main/java/kr/syeyoung | |
parent | 14fe856ec5b236fb45900e9f95806a5c8cc394dc (diff) | |
download | Skyblock-Dungeons-Guide-a6b100947144656ea7fc756081da1baebaba54b3.tar.gz Skyblock-Dungeons-Guide-a6b100947144656ea7fc756081da1baebaba54b3.tar.bz2 Skyblock-Dungeons-Guide-a6b100947144656ea7fc756081da1baebaba54b3.zip |
Update SkyblockStatus.java (#375)
Signed-off-by: Loudbook <loudbooked@gmail.com>
Diffstat (limited to 'mod/src/main/java/kr/syeyoung')
-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"); } |