fix bad assets_version value
This commit is contained in:
parent
fe3a0dce44
commit
9872fef555
@ -85,7 +85,10 @@ void usage()
|
||||
|
||||
void info(cJSON *json)
|
||||
{
|
||||
char *assets_version = cJSON_GetStringValue(cJSON_GetObjectItem(json, "id"));
|
||||
char *minecraft_version = cJSON_GetStringValue(cJSON_GetObjectItem(json, "id"));
|
||||
printf("Minecraft Version: %s\n", minecraft_version);
|
||||
|
||||
char *assets_version = cJSON_GetStringValue(cJSON_GetObjectItem(json, "assets"));
|
||||
printf("Minecraft Assets Version: %s\n", assets_version);
|
||||
|
||||
cJSON *libraries = cJSON_GetObjectItem(json, "libraries");
|
||||
|
Loading…
Reference in New Issue
Block a user