From c205ca84edefa131d09c1f205a774e8c77882282 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 25 Dec 2020 19:51:56 -0500 Subject: [PATCH] Fix --- commands/edit-image/pet.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/edit-image/pet.js b/commands/edit-image/pet.js index 799eed87..2021a431 100644 --- a/commands/edit-image/pet.js +++ b/commands/edit-image/pet.js @@ -42,6 +42,7 @@ module.exports = class PetCommand extends Command { encoder.setRepeat(0); encoder.setDelay(20); encoder.setQuality(200); + encoder.setTransparent('#000000'); for (let i = 0; i < frameCount; i++) { const frameID = `frame_${i.toString().padStart(2, '0')}.png`; const frame = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'pet', frameID));