} else if (s.equals("${game_assets}") || s.equals("${assets_root}")) {
arguments.add(assetDir.getAbsolutePath());
} else if (s.equals("${assets_index_name}")) {
arguments.add(assetIndex == null ? "legacy" : assetIndex);
} else if (s.equals("${user_properties}")) {
arguments.add(new GsonBuilder().registerTypeAdapter(PropertyMap.class, new OldPropertyMapSerializer()).create().toJson(authentication.getUserProperties()));
} else if (s.equals("${user_properties_map}")) {
arguments.add(new GsonBuilder().registerTypeAdapter(PropertyMap.class, new PropertyMap.Serializer()).create().toJson(authentication.getUserProperties()));
} else if (isLegacy) {
arguments.add(parseLegacyArgs(s));
} else {