From 2f2979c6aa68fb7d061bc8085c5be798aa25dcaa Mon Sep 17 00:00:00 2001 From: Christian Koop Date: Fri, 20 Sep 2024 10:35:05 +0200 Subject: [PATCH] fix: Core's GameProfile class extracting the texture value correctly --- .../com/craftaro/core/nms/v1_10_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_11_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_12_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_13_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_13_R2/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_14_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_15_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_16_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_16_R2/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_16_R3/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_17_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_18_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_18_R2/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_19_0/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_19_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_19_R2/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_19_R3/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_20_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_20_R2/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_20_R3/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_20_R4/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_21_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_8_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_8_R2/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_8_R3/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_9_R1/entity/NMSPlayerImpl.java | 2 +- .../com/craftaro/core/nms/v1_9_R2/entity/NMSPlayerImpl.java | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/NMS/NMS-v1_10_R1/src/main/java/com/craftaro/core/nms/v1_10_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_10_R1/src/main/java/com/craftaro/core/nms/v1_10_R1/entity/NMSPlayerImpl.java index 0ba9d966..ebbabeae 100644 --- a/NMS/NMS-v1_10_R1/src/main/java/com/craftaro/core/nms/v1_10_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_10_R1/src/main/java/com/craftaro/core/nms/v1_10_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_11_R1/src/main/java/com/craftaro/core/nms/v1_11_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_11_R1/src/main/java/com/craftaro/core/nms/v1_11_R1/entity/NMSPlayerImpl.java index 47734ba8..3113e40c 100644 --- a/NMS/NMS-v1_11_R1/src/main/java/com/craftaro/core/nms/v1_11_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_11_R1/src/main/java/com/craftaro/core/nms/v1_11_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_12_R1/src/main/java/com/craftaro/core/nms/v1_12_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_12_R1/src/main/java/com/craftaro/core/nms/v1_12_R1/entity/NMSPlayerImpl.java index ec8e6bfe..980c3382 100644 --- a/NMS/NMS-v1_12_R1/src/main/java/com/craftaro/core/nms/v1_12_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_12_R1/src/main/java/com/craftaro/core/nms/v1_12_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_13_R1/src/main/java/com/craftaro/core/nms/v1_13_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_13_R1/src/main/java/com/craftaro/core/nms/v1_13_R1/entity/NMSPlayerImpl.java index 6f2824cf..550600fa 100644 --- a/NMS/NMS-v1_13_R1/src/main/java/com/craftaro/core/nms/v1_13_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_13_R1/src/main/java/com/craftaro/core/nms/v1_13_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_13_R2/src/main/java/com/craftaro/core/nms/v1_13_R2/entity/NMSPlayerImpl.java b/NMS/NMS-v1_13_R2/src/main/java/com/craftaro/core/nms/v1_13_R2/entity/NMSPlayerImpl.java index b678dffb..61bd509f 100644 --- a/NMS/NMS-v1_13_R2/src/main/java/com/craftaro/core/nms/v1_13_R2/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_13_R2/src/main/java/com/craftaro/core/nms/v1_13_R2/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_14_R1/src/main/java/com/craftaro/core/nms/v1_14_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_14_R1/src/main/java/com/craftaro/core/nms/v1_14_R1/entity/NMSPlayerImpl.java index 71b8e21a..d84b7686 100644 --- a/NMS/NMS-v1_14_R1/src/main/java/com/craftaro/core/nms/v1_14_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_14_R1/src/main/java/com/craftaro/core/nms/v1_14_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_15_R1/src/main/java/com/craftaro/core/nms/v1_15_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_15_R1/src/main/java/com/craftaro/core/nms/v1_15_R1/entity/NMSPlayerImpl.java index 93207141..2c946070 100644 --- a/NMS/NMS-v1_15_R1/src/main/java/com/craftaro/core/nms/v1_15_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_15_R1/src/main/java/com/craftaro/core/nms/v1_15_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_16_R1/src/main/java/com/craftaro/core/nms/v1_16_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_16_R1/src/main/java/com/craftaro/core/nms/v1_16_R1/entity/NMSPlayerImpl.java index 6db47e45..18056a66 100644 --- a/NMS/NMS-v1_16_R1/src/main/java/com/craftaro/core/nms/v1_16_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_16_R1/src/main/java/com/craftaro/core/nms/v1_16_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_16_R2/src/main/java/com/craftaro/core/nms/v1_16_R2/entity/NMSPlayerImpl.java b/NMS/NMS-v1_16_R2/src/main/java/com/craftaro/core/nms/v1_16_R2/entity/NMSPlayerImpl.java index 06dd87f3..5f1bc8b3 100644 --- a/NMS/NMS-v1_16_R2/src/main/java/com/craftaro/core/nms/v1_16_R2/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_16_R2/src/main/java/com/craftaro/core/nms/v1_16_R2/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_16_R3/src/main/java/com/craftaro/core/nms/v1_16_R3/entity/NMSPlayerImpl.java b/NMS/NMS-v1_16_R3/src/main/java/com/craftaro/core/nms/v1_16_R3/entity/NMSPlayerImpl.java index 289d7093..7c42818d 100644 --- a/NMS/NMS-v1_16_R3/src/main/java/com/craftaro/core/nms/v1_16_R3/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_16_R3/src/main/java/com/craftaro/core/nms/v1_16_R3/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_17_R1/src/main/java/com/craftaro/core/nms/v1_17_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_17_R1/src/main/java/com/craftaro/core/nms/v1_17_R1/entity/NMSPlayerImpl.java index 0b949086..ddd0e41d 100644 --- a/NMS/NMS-v1_17_R1/src/main/java/com/craftaro/core/nms/v1_17_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_17_R1/src/main/java/com/craftaro/core/nms/v1_17_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_18_R1/src/main/java/com/craftaro/core/nms/v1_18_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_18_R1/src/main/java/com/craftaro/core/nms/v1_18_R1/entity/NMSPlayerImpl.java index 095c02b7..fc7c0262 100644 --- a/NMS/NMS-v1_18_R1/src/main/java/com/craftaro/core/nms/v1_18_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_18_R1/src/main/java/com/craftaro/core/nms/v1_18_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_18_R2/src/main/java/com/craftaro/core/nms/v1_18_R2/entity/NMSPlayerImpl.java b/NMS/NMS-v1_18_R2/src/main/java/com/craftaro/core/nms/v1_18_R2/entity/NMSPlayerImpl.java index 7f28fc9f..a824ea91 100644 --- a/NMS/NMS-v1_18_R2/src/main/java/com/craftaro/core/nms/v1_18_R2/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_18_R2/src/main/java/com/craftaro/core/nms/v1_18_R2/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_19_0/src/main/java/com/craftaro/core/nms/v1_19_0/entity/NMSPlayerImpl.java b/NMS/NMS-v1_19_0/src/main/java/com/craftaro/core/nms/v1_19_0/entity/NMSPlayerImpl.java index 6c7c77d2..ec4ef74f 100644 --- a/NMS/NMS-v1_19_0/src/main/java/com/craftaro/core/nms/v1_19_0/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_19_0/src/main/java/com/craftaro/core/nms/v1_19_0/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_19_R1/src/main/java/com/craftaro/core/nms/v1_19_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_19_R1/src/main/java/com/craftaro/core/nms/v1_19_R1/entity/NMSPlayerImpl.java index 1c831a40..f79bedea 100644 --- a/NMS/NMS-v1_19_R1/src/main/java/com/craftaro/core/nms/v1_19_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_19_R1/src/main/java/com/craftaro/core/nms/v1_19_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_19_R2/src/main/java/com/craftaro/core/nms/v1_19_R2/entity/NMSPlayerImpl.java b/NMS/NMS-v1_19_R2/src/main/java/com/craftaro/core/nms/v1_19_R2/entity/NMSPlayerImpl.java index 47795b2a..af92dd41 100644 --- a/NMS/NMS-v1_19_R2/src/main/java/com/craftaro/core/nms/v1_19_R2/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_19_R2/src/main/java/com/craftaro/core/nms/v1_19_R2/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_19_R3/src/main/java/com/craftaro/core/nms/v1_19_R3/entity/NMSPlayerImpl.java b/NMS/NMS-v1_19_R3/src/main/java/com/craftaro/core/nms/v1_19_R3/entity/NMSPlayerImpl.java index 146ce57e..4a156aef 100644 --- a/NMS/NMS-v1_19_R3/src/main/java/com/craftaro/core/nms/v1_19_R3/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_19_R3/src/main/java/com/craftaro/core/nms/v1_19_R3/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_20_R1/src/main/java/com/craftaro/core/nms/v1_20_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_20_R1/src/main/java/com/craftaro/core/nms/v1_20_R1/entity/NMSPlayerImpl.java index ebf82e68..95c689ce 100644 --- a/NMS/NMS-v1_20_R1/src/main/java/com/craftaro/core/nms/v1_20_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_20_R1/src/main/java/com/craftaro/core/nms/v1_20_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_20_R2/src/main/java/com/craftaro/core/nms/v1_20_R2/entity/NMSPlayerImpl.java b/NMS/NMS-v1_20_R2/src/main/java/com/craftaro/core/nms/v1_20_R2/entity/NMSPlayerImpl.java index 492aed3c..e02771db 100644 --- a/NMS/NMS-v1_20_R2/src/main/java/com/craftaro/core/nms/v1_20_R2/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_20_R2/src/main/java/com/craftaro/core/nms/v1_20_R2/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.name().equals("SKIN")) { + if (property.name().equals("textures")) { textureValue = property.value(); textureSignature = property.signature(); } diff --git a/NMS/NMS-v1_20_R3/src/main/java/com/craftaro/core/nms/v1_20_R3/entity/NMSPlayerImpl.java b/NMS/NMS-v1_20_R3/src/main/java/com/craftaro/core/nms/v1_20_R3/entity/NMSPlayerImpl.java index d800e59b..29297da3 100644 --- a/NMS/NMS-v1_20_R3/src/main/java/com/craftaro/core/nms/v1_20_R3/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_20_R3/src/main/java/com/craftaro/core/nms/v1_20_R3/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.name().equals("SKIN")) { + if (property.name().equals("textures")) { textureValue = property.value(); textureSignature = property.signature(); } diff --git a/NMS/NMS-v1_20_R4/src/main/java/com/craftaro/core/nms/v1_20_R4/entity/NMSPlayerImpl.java b/NMS/NMS-v1_20_R4/src/main/java/com/craftaro/core/nms/v1_20_R4/entity/NMSPlayerImpl.java index 31d3a67a..ceb795b7 100644 --- a/NMS/NMS-v1_20_R4/src/main/java/com/craftaro/core/nms/v1_20_R4/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_20_R4/src/main/java/com/craftaro/core/nms/v1_20_R4/entity/NMSPlayerImpl.java @@ -37,7 +37,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.name().equals("SKIN")) { + if (property.name().equals("textures")) { textureValue = property.value(); textureSignature = property.signature(); } diff --git a/NMS/NMS-v1_21_R1/src/main/java/com/craftaro/core/nms/v1_21_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_21_R1/src/main/java/com/craftaro/core/nms/v1_21_R1/entity/NMSPlayerImpl.java index 51780790..bd0ca00f 100644 --- a/NMS/NMS-v1_21_R1/src/main/java/com/craftaro/core/nms/v1_21_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_21_R1/src/main/java/com/craftaro/core/nms/v1_21_R1/entity/NMSPlayerImpl.java @@ -37,7 +37,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.name().equals("SKIN")) { + if (property.name().equals("textures")) { textureValue = property.value(); textureSignature = property.signature(); } diff --git a/NMS/NMS-v1_8_R1/src/main/java/com/craftaro/core/nms/v1_8_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_8_R1/src/main/java/com/craftaro/core/nms/v1_8_R1/entity/NMSPlayerImpl.java index 5e99b1b6..b9b0642c 100644 --- a/NMS/NMS-v1_8_R1/src/main/java/com/craftaro/core/nms/v1_8_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_8_R1/src/main/java/com/craftaro/core/nms/v1_8_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_8_R2/src/main/java/com/craftaro/core/nms/v1_8_R2/entity/NMSPlayerImpl.java b/NMS/NMS-v1_8_R2/src/main/java/com/craftaro/core/nms/v1_8_R2/entity/NMSPlayerImpl.java index 19c81d5d..68d51ccf 100644 --- a/NMS/NMS-v1_8_R2/src/main/java/com/craftaro/core/nms/v1_8_R2/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_8_R2/src/main/java/com/craftaro/core/nms/v1_8_R2/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_8_R3/src/main/java/com/craftaro/core/nms/v1_8_R3/entity/NMSPlayerImpl.java b/NMS/NMS-v1_8_R3/src/main/java/com/craftaro/core/nms/v1_8_R3/entity/NMSPlayerImpl.java index 01517e73..f267be5b 100644 --- a/NMS/NMS-v1_8_R3/src/main/java/com/craftaro/core/nms/v1_8_R3/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_8_R3/src/main/java/com/craftaro/core/nms/v1_8_R3/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_9_R1/src/main/java/com/craftaro/core/nms/v1_9_R1/entity/NMSPlayerImpl.java b/NMS/NMS-v1_9_R1/src/main/java/com/craftaro/core/nms/v1_9_R1/entity/NMSPlayerImpl.java index 594e3070..5d788c21 100644 --- a/NMS/NMS-v1_9_R1/src/main/java/com/craftaro/core/nms/v1_9_R1/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_9_R1/src/main/java/com/craftaro/core/nms/v1_9_R1/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); } diff --git a/NMS/NMS-v1_9_R2/src/main/java/com/craftaro/core/nms/v1_9_R2/entity/NMSPlayerImpl.java b/NMS/NMS-v1_9_R2/src/main/java/com/craftaro/core/nms/v1_9_R2/entity/NMSPlayerImpl.java index 5ba70b63..18ab8829 100644 --- a/NMS/NMS-v1_9_R2/src/main/java/com/craftaro/core/nms/v1_9_R2/entity/NMSPlayerImpl.java +++ b/NMS/NMS-v1_9_R2/src/main/java/com/craftaro/core/nms/v1_9_R2/entity/NMSPlayerImpl.java @@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer { String textureValue = null; String textureSignature = null; for (Property property : profile.getProperties().get("textures")) { - if (property.getName().equals("SKIN")) { + if (property.getName().equals("textures")) { textureValue = property.getValue(); textureSignature = property.getSignature(); }