From 15f885c8d6d1f13ecf32b8c23ccc193972732c4f Mon Sep 17 00:00:00 2001 From: "cassie~! :3" Date: Mon, 10 Feb 2025 22:09:02 -0700 Subject: [PATCH] adjust automatic settings to match logic defined in readme --- utils/image/process.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/image/process.ts b/utils/image/process.ts index b0e8dd8..22baa03 100644 --- a/utils/image/process.ts +++ b/utils/image/process.ts @@ -12,10 +12,10 @@ function getSettings(fileName: string): ProcessSettings { } const path = fileName.toLowerCase() - if (path.includes('/block/')) - settings.tile = { n: 'wrap', s: 'wrap', e: 'wrap', w: 'wrap' } - else if (path.includes('/painting/') || path.includes('/optifine/')) + if (path.includes('/block/') || path.includes('/optifine/')) settings.tile = { n: 'wrap', s: 'wrap', e: 'wrap', w: 'wrap' } + else if (path.includes('/painting/')) + settings.tile = { n: 'extend', s: 'extend', e: 'extend', w: 'extend' } else if (includesAny(path, '/model/', '/entity/')) settings.relayer = true else if (includesAny(path, '/font/', '/colormap/') || endsWithAny(path, 'pack.png', 'title/minecraft.png'))