aboutsummaryrefslogtreecommitdiff
path: root/fabric/src/main/java/de/hype
diff options
context:
space:
mode:
authorhackthetime <l4bg0jb7@duck.com>2023-11-08 10:48:19 +0100
committerhackthetime <l4bg0jb7@duck.com>2023-11-08 10:48:19 +0100
commit02e5e5d3a94fcaee3097ef96504448ba81abc61f (patch)
tree3cf7cee824a5fb3155fe161bc5a3249ce0033fe7 /fabric/src/main/java/de/hype
parentc41eb7f730e7586a69dce21691083f4637c0e595 (diff)
downloadBBsentials-02e5e5d3a94fcaee3097ef96504448ba81abc61f.tar.gz
BBsentials-02e5e5d3a94fcaee3097ef96504448ba81abc61f.tar.bz2
BBsentials-02e5e5d3a94fcaee3097ef96504448ba81abc61f.zip
fixed a recently added problem and crash.
IMPROVED LOG4J config to not spam the log output anymore at least while in IDE
Diffstat (limited to 'fabric/src/main/java/de/hype')
-rw-r--r--fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java b/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java
index 4fea7fd..26d2872 100644
--- a/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java
+++ b/fabric/src/main/java/de/hype/bbsentials/fabric/MCUtils.java
@@ -26,7 +26,7 @@ public class MCUtils implements de.hype.bbsentials.common.mclibraries.MCUtils {
}
public String getMCUUID() {
- return MinecraftClient.getInstance().player.getUuid().toString();
+ return MinecraftClient.getInstance().getSession().getUuidOrNull().toString();
}