uuid = UUID.fromString(s1);
} catch (Throwable throwable) {
uuid = null;
}
GameProfile gameprofile = new GameProfile(uuid, s);
if (nbttagcompound.hasKeyOfType("Properties", 10)) {
NBTTagCompound nbttagcompound1 = nbttagcompound.getCompound("Properties");
Iterator iterator = nbttagcompound1.c().iterator();
while (iterator.hasNext()) {
String s2 = (String) iterator.next();
NBTTagList nbttaglist = nbttagcompound1.getList(s2, 10);
for (int i = 0; i < nbttaglist.size(); ++i) {
NBTTagCompound nbttagcompound2 = nbttaglist.get(i);
String s3 = nbttagcompound2.getString("Value");
if (nbttagcompound2.hasKeyOfType("Signature", 8)) {
gameprofile.getProperties().put(s2, new Property(s2, s3, nbttagcompound2.getString("Signature")));
} else {
gameprofile.getProperties().put(s2, new Property(s2, s3));
}
}
}
}