Skip to content

Commit

Permalink
||=
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Sep 10, 2024
1 parent 78b2129 commit 874b713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/functions/compareTexture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default async function compareTexture(client: Client, id: string, display
isAnimation: true,
});

if (!mcmeta.animation) mcmeta.animation = {};
mcmeta.animation ||= {};

// scale mcmeta info for new resolution
mcmeta.animation.height = !mcmeta.animation?.height
Expand Down

0 comments on commit 874b713

Please sign in to comment.