Correct typo

This commit is contained in:
Sollace 2018-07-25 16:59:38 +02:00
parent a72fdfdf7f
commit 7b5f99028b
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ public class LegacySkinServer implements SkinServer {
return Optional.empty(); return Optional.empty();
} }
return Optional.of(TexturesPayloadBuilder.createTexuresPayload(profile, map)); return Optional.of(TexturesPayloadBuilder.createTexturesPayload(profile, map));
} }
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")

View file

@ -22,7 +22,7 @@ public class TexturesPayloadBuilder {
private static Gson gson = new GsonBuilder().registerTypeAdapter(UUID.class, new UUIDTypeAdapter()).create(); private static Gson gson = new GsonBuilder().registerTypeAdapter(UUID.class, new UUIDTypeAdapter()).create();
public static MinecraftTexturesPayload createTexuresPayload(GameProfile profile, Map<Type, MinecraftProfileTexture> textures) { public static MinecraftTexturesPayload createTexturesPayload(GameProfile profile, Map<Type, MinecraftProfileTexture> textures) {
return gson.fromJson(gson.toJson(new TexturesPayloadBuilder(profile, textures)), MinecraftTexturesPayload.class); return gson.fromJson(gson.toJson(new TexturesPayloadBuilder(profile, textures)), MinecraftTexturesPayload.class);
} }