From 7b5f99028beae2703b03df38201957c89af65707 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 25 Jul 2018 16:59:38 +0200 Subject: [PATCH] Correct typo --- .../java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java | 2 +- .../com/voxelmodpack/hdskins/skins/TexturesPayloadBuilder.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java b/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java index 57639f52..418d0fd3 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java @@ -80,7 +80,7 @@ public class LegacySkinServer implements SkinServer { return Optional.empty(); } - return Optional.of(TexturesPayloadBuilder.createTexuresPayload(profile, map)); + return Optional.of(TexturesPayloadBuilder.createTexturesPayload(profile, map)); } @SuppressWarnings("deprecation") diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/skins/TexturesPayloadBuilder.java b/src/hdskins/java/com/voxelmodpack/hdskins/skins/TexturesPayloadBuilder.java index 0e284663..39b301ce 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/skins/TexturesPayloadBuilder.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/skins/TexturesPayloadBuilder.java @@ -22,7 +22,7 @@ public class TexturesPayloadBuilder { private static Gson gson = new GsonBuilder().registerTypeAdapter(UUID.class, new UUIDTypeAdapter()).create(); - public static MinecraftTexturesPayload createTexuresPayload(GameProfile profile, Map textures) { + public static MinecraftTexturesPayload createTexturesPayload(GameProfile profile, Map textures) { return gson.fromJson(gson.toJson(new TexturesPayloadBuilder(profile, textures)), MinecraftTexturesPayload.class); }