diff options
author | hackthetime <l4bg0jb7@duck.com> | 2023-11-08 10:48:19 +0100 |
---|---|---|
committer | hackthetime <l4bg0jb7@duck.com> | 2023-11-08 10:48:19 +0100 |
commit | 02e5e5d3a94fcaee3097ef96504448ba81abc61f (patch) | |
tree | 3cf7cee824a5fb3155fe161bc5a3249ce0033fe7 /fabric/src/main/java/de/hype | |
parent | c41eb7f730e7586a69dce21691083f4637c0e595 (diff) | |
download | BBsentials-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.java | 2 |
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(); } |