Skip to content

Commit

Permalink
My first and final commit here
Browse files Browse the repository at this point in the history
  • Loading branch information
2767mr authored Mar 15, 2023
1 parent defb3e8 commit 8fb4883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const imageGenerators = new PatchList<
for (let mod of modloader.loadedMods.values()) {
for (let asset of mod.assets) {
if (asset.endsWith('.json.patch') || asset.endsWith('.patch.json')) {
let patchedAsset = asset.replace(/\.patch/g, '');
let patchedAsset = asset.slice(0, -'.json.patch'.length) + '.json';
registerPatchstepsPatch(mod, asset, patchedAsset);
continue;
}
Expand Down

0 comments on commit 8fb4883

Please sign in to comment.