Skip to content

Commit

Permalink
Fucking commas
Browse files Browse the repository at this point in the history
  • Loading branch information
06Games committed Nov 29, 2020
1 parent fb24a35 commit 7922d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ foreach ($file in $files) {

if ((Test-Path -Path $($tempRelative + "_mer.png")) -or (Test-Path -Path $($tempRelative + "_normal.png"))) {
if (Test-Path -Path $($tempRelative + ".png")) {
$texture_set = "{`n`t""format_version"": ""1.16.100""`n`t""minecraft:texture_set"": {"
$texture_set = "{`n`t""format_version"": ""1.16.100"",`n`t""minecraft:texture_set"": {"
$texture_set += "`n`t`t""color"": """ + $file.Basename + ""","
if (Test-Path -Path $($tempRelative+ "_mer.png")) { $texture_set += "`n`t`t""metalness_emissive_roughness"": """ + $file.Basename + "_mer""" }
if ((Test-Path -Path $($tempRelative + "_mer.png")) -and (Test-Path -Path $($tempRelative + "_normal.png"))) { $texture_set += "," }
Expand Down

0 comments on commit 7922d22

Please sign in to comment.