From f7debac354874153ded8f7a8e0e772aea45152e2 Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 20 Aug 2018 13:49:06 +0200 Subject: [PATCH] Fixed a horrible mistake --- .../java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java b/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java index c059932a..898dc7e2 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java @@ -95,7 +95,7 @@ public class LegacySkinServer implements SkinServer { client.putHeaders(createHeaders(session, upload)); - if (upload.getImage() == null) { + if (upload.getImage() != null) { client.putFile(upload.getType().toString().toLowerCase(Locale.US), "image/png", upload.getImage()); }