Fix NPE in modlauncher when there is no mods dir yet.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
parent
29ad7a39de
commit
e3068d7db2
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ public class ModDirTransformerDiscoverer implements ITransformerDiscoveryService
|
|||
return ModDirTransformerDiscoverer.transformers;
|
||||
}
|
||||
|
||||
private static List<Path> transformers;
|
||||
private static List<Path> transformers = new ArrayList<>();
|
||||
private static List<Path> locators = new ArrayList<>();
|
||||
|
||||
private static List<Path> locators;
|
||||
public static List<Path> allExcluded() {
|
||||
ArrayList<Path> paths = new ArrayList<>();
|
||||
paths.addAll(transformers);
|
||||
|
|
Loading…
Reference in a new issue