From d67306935eec84aaae521d7c98f0291d7b3ff711 Mon Sep 17 00:00:00 2001 From: hackthetime Date: Wed, 8 Nov 2023 12:23:36 +0100 Subject: 1.8 bug fix regarding mcuuid --- forge/src/main/java/de/hype/bbsentials/forge/MCUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit