fix: Core's GameProfile class extracting the texture value correctly

This commit is contained in:
Christian Koop 2024-09-20 10:35:05 +02:00
parent 656d3b9775
commit 2f2979c6aa
No known key found for this signature in database
GPG Key ID: 6A4A09E8ED946113
27 changed files with 27 additions and 27 deletions

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.name().equals("SKIN")) { if (property.name().equals("textures")) {
textureValue = property.value(); textureValue = property.value();
textureSignature = property.signature(); textureSignature = property.signature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.name().equals("SKIN")) { if (property.name().equals("textures")) {
textureValue = property.value(); textureValue = property.value();
textureSignature = property.signature(); textureSignature = property.signature();
} }

View File

@ -37,7 +37,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.name().equals("SKIN")) { if (property.name().equals("textures")) {
textureValue = property.value(); textureValue = property.value();
textureSignature = property.signature(); textureSignature = property.signature();
} }

View File

@ -37,7 +37,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.name().equals("SKIN")) { if (property.name().equals("textures")) {
textureValue = property.value(); textureValue = property.value();
textureSignature = property.signature(); textureSignature = property.signature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }

View File

@ -36,7 +36,7 @@ public class NMSPlayerImpl implements NMSPlayer {
String textureValue = null; String textureValue = null;
String textureSignature = null; String textureSignature = null;
for (Property property : profile.getProperties().get("textures")) { for (Property property : profile.getProperties().get("textures")) {
if (property.getName().equals("SKIN")) { if (property.getName().equals("textures")) {
textureValue = property.getValue(); textureValue = property.getValue();
textureSignature = property.getSignature(); textureSignature = property.getSignature();
} }