Remove extra values from skin image object

This commit is contained in:
Jordan Eldredge 2017-09-07 21:37:03 -07:00
parent 3a02258d81
commit f8e4defdde

View file

@ -100,7 +100,7 @@ async function skinParser(zipFile) {
);
// Merge all the objects into a single object. Tests assert that sprite keys are unique.
const images = imageObjs.reduce(Object.assign, {});
const images = imageObjs.reduce((prev, img) => Object.assign(prev, img), {});
const viscolorContent = await genFileFromZip(zip, "VISCOLOR", "txt", "text");
const colors = viscolorContent