aboutsummaryrefslogtreecommitdiff
path: root/mod/src
diff options
context:
space:
mode:
authorLoudbook <loudbooked@gmail.com>2023-04-10 21:14:32 -0400
committerGitHub <noreply@github.com>2023-04-11 10:14:32 +0900
commita6b100947144656ea7fc756081da1baebaba54b3 (patch)
treefad5248401ef4147a4e7c0bc126c468cfcc6d757 /mod/src
parent14fe856ec5b236fb45900e9f95806a5c8cc394dc (diff)
downloadSkyblock-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')
-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");
}