Skip to content

Commit

Permalink
Update for 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Dec 21, 2024
1 parent 35280e6 commit 0278f3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ public void spawn(Player player) {
}

if (data.getSkin() != null) {
String skinValue = data.getSkin().value();
String skinSignature = data.getSkin().signature();
String skinValue = data.getSkin().getTextureValue();
String skinSignature = data.getSkin().getTextureSignature();

if (skinValue != null && !skinValue.isEmpty() && skinSignature != null && !skinSignature.isEmpty()) {
((ServerPlayer) npc).getGameProfile().getProperties().replaceValues("textures", ImmutableList.of(new Property("textures", skinValue, skinSignature)));
Expand Down

0 comments on commit 0278f3f

Please sign in to comment.