aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forge/src/main/java/de/hype/bbsentials/forge/MCUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/forge/src/main/java/de/hype/bbsentials/forge/MCUtils.java b/forge/src/main/java/de/hype/bbsentials/forge/MCUtils.java
index 50c7c90..251b20b 100644
--- a/forge/src/main/java/de/hype/bbsentials/forge/MCUtils.java
+++ b/forge/src/main/java/de/hype/bbsentials/forge/MCUtils.java
@@ -26,7 +26,7 @@ public class MCUtils implements de.hype.bbsentials.common.mclibraries.MCUtils {
}
public String getMCUUID() {
- return Minecraft.getMinecraft().thePlayer.getUniqueID().toString();
+ return Minecraft.getMinecraft().getSession().getPlayerID().toString();
}