diff --git a/Launcher/source/client/ClientLauncher.java b/Launcher/source/client/ClientLauncher.java index 1767ab9..8930790 100644 --- a/Launcher/source/client/ClientLauncher.java +++ b/Launcher/source/client/ClientLauncher.java @@ -204,10 +204,10 @@ properties.put(SKIN_DIGEST_PROPERTY, new JSONArray(Collections.singleton( SecurityHelper.toHex(pp.skin.digest)))); } - if (pp.skin != null) { + if (pp.cloak != null) { properties.put(CLOAK_URL_PROPERTY, new JSONArray(Collections.singleton(pp.cloak.url))); properties.put(CLOAK_DIGEST_PROPERTY, new JSONArray(Collections.singleton( - SecurityHelper.toHex(pp.skin.digest)))); + SecurityHelper.toHex(pp.cloak.digest)))); } Collections.addAll(args, "--userProperties", properties.toString());