Franek-Le commited on
Commit
289ca2d
·
1 Parent(s): fd94138
files/files.txt DELETED
@@ -1 +0,0 @@
1
- Just keep this file so the files folder doesn't get ignored.
 
 
files/mods/keepthisfile.txt ADDED
File without changes
src/mods/mods.ts CHANGED
@@ -40,6 +40,10 @@ export class ModManager {
40
  const mods: Mod[] = [];
41
 
42
  for (const filename of filenames) {
 
 
 
 
43
  const filepath = path.join(modFolderPath, filename);
44
  const metadataFilepath = filepath + ".json"
45
 
 
40
  const mods: Mod[] = [];
41
 
42
  for (const filename of filenames) {
43
+ if (!filename.toLowerCase().endsWith(".jar")) {
44
+ continue;
45
+ }
46
+
47
  const filepath = path.join(modFolderPath, filename);
48
  const metadataFilepath = filepath + ".json"
49