Skip to content

Commit

Permalink
Add snbt and shaders to text-like files
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Oct 4, 2024
1 parent 91f61b3 commit 5b5cc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/versions/VersionDiff.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5b5cc02

Please sign in to comment.