From 7812a8a65b2b34ab3afd9e9bfffaec7f1fd7091c Mon Sep 17 00:00:00 2001 From: MATRIX-feather Date: Tue, 21 Nov 2023 17:52:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8ld=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E7=9A=AE=E8=82=A4=E6=97=B6=E4=BC=9A=E5=9C=A8?= =?UTF-8?q?Windows=E4=B8=8A=E4=BC=9A=E6=98=BE=E7=A4=BA=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiamomc/morph/backends/libsdisg/LibsDisguiseWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xiamomc/morph/backends/libsdisg/LibsDisguiseWrapper.java b/src/main/java/xiamomc/morph/backends/libsdisg/LibsDisguiseWrapper.java index c3bb5c0b..703222cc 100644 --- a/src/main/java/xiamomc/morph/backends/libsdisg/LibsDisguiseWrapper.java +++ b/src/main/java/xiamomc/morph/backends/libsdisg/LibsDisguiseWrapper.java @@ -173,7 +173,7 @@ public void applySkin(GameProfile profile) var LDprofile = ReflectionManager.getGameProfileWithThisSkin(wrappedProfile.getUUID(), wrappedProfile.getName(), wrappedProfile); //LD不支持直接用profile设置皮肤,只能先存到本地设置完再移除 - DisguiseAPI.addGameProfile(LDprofile.toString(), LDprofile); + DisguiseAPI.addGameProfile("fm_" + LDprofile.hashCode(), LDprofile); playerDisguise.setSkin(LDprofile); DisguiseUtilities.removeGameProfile(LDprofile.toString());