From 5b5cc026f407f58fbea2caec6e99557baac583a2 Mon Sep 17 00:00:00 2001 From: Misode Date: Fri, 4 Oct 2024 19:23:21 +0200 Subject: [PATCH] Add snbt and shaders to text-like files --- src/app/components/versions/VersionDiff.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/versions/VersionDiff.tsx b/src/app/components/versions/VersionDiff.tsx index c567f0eb..e5059010 100644 --- a/src/app/components/versions/VersionDiff.tsx +++ b/src/app/components/versions/VersionDiff.tsx @@ -40,7 +40,7 @@ export function VersionDiff({ version }: Props) { let patch = file.patch if (patch === undefined) { const isMedia = filename.match(/\.(png|ogg)$/) - const isText = filename.match(/\.(txt|json|mcmeta)$/) + const isText = filename.match(/\.(txt|json|mcmeta|snbt|vsh|fsh)$/) if (isMedia) { return { file,