From b161b62cab190de9ceb4fc2b134be320f0071447 Mon Sep 17 00:00:00 2001 From: samolego <34912839+samolego@users.noreply.github.com> Date: Tue, 3 Dec 2024 13:11:47 +0100 Subject: [PATCH] Fix skin not loading on autofetch --- build.gradle | 5 ++--- .../org/samo_lego/fabrictailor/network/NetworkHandler.java | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 65258b7..7d95873 100644 --- a/build.gradle +++ b/build.gradle @@ -43,9 +43,8 @@ dependencies { modImplementation(include('me.lucko:fabric-permissions-api:0.3.1')) // Carpet - modImplementation("carpet:fabric-carpet:${project.carpet_core_version}") - //modCompileOnly('com.github.samolego.Taterzens:taterzens-fabric:1.11.6') -} + modCompileOnly("carpet:fabric-carpet:${project.carpet_core_version}") +} processResources { inputs.property "version", project.version diff --git a/src/main/java/org/samo_lego/fabrictailor/network/NetworkHandler.java b/src/main/java/org/samo_lego/fabrictailor/network/NetworkHandler.java index 605aa74..52f997c 100644 --- a/src/main/java/org/samo_lego/fabrictailor/network/NetworkHandler.java +++ b/src/main/java/org/samo_lego/fabrictailor/network/NetworkHandler.java @@ -54,7 +54,7 @@ public static void onInit(ServerGamePacketListenerImpl listener, MinecraftServer // Try to set skin now if (skinData != null) { - ((TailoredPlayer) player).fabrictailor_setSkin(skinData, false); + ((TailoredPlayer) player).fabrictailor_setSkin(skinData, true); } ((TailoredPlayer) player).fabrictailor_resetLastSkinChange(); }