Polymer

Polymer

763k Downloads

Can't set a pack description using ResourcePackCreator

Jerozgen opened this issue ยท 0 comments

commented

ResourcePackCreator.packDescription isn't used in the if-body here:

if (this.packDescription != null) {
builder.addData("pack.mcmeta", ("" +
"{\n" +
" \"pack\":{\n" +
" \"pack_format\":" + SharedConstants.RESOURCE_PACK_VERSION + ",\n" +
" \"description\":\"Server resource pack\"\n" +
" }\n" +
"}\n").getBytes(StandardCharsets.UTF_8));
}

Also, packDescription should be a text component, not a string.