Fixed a horrible mistake

This commit is contained in:
Sollace 2018-08-20 13:49:06 +02:00
parent 869f4b6b5f
commit f7debac354

View file

@ -95,7 +95,7 @@ public class LegacySkinServer implements SkinServer {
client.putHeaders(createHeaders(session, upload)); 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()); client.putFile(upload.getType().toString().toLowerCase(Locale.US), "image/png", upload.getImage());
} }