mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-13 03:06:10 +00:00
fix addon check on fresh install
This commit is contained in:
@@ -220,6 +220,7 @@ public abstract class AbstractPlatform implements Platform {
|
||||
Path data = getDataFolder().toPath();
|
||||
|
||||
Path addonsPath = data.resolve("addons");
|
||||
Files.createDirectories(addonsPath);
|
||||
Set<Pair<Path, String>> paths = Files
|
||||
.walk(addonsPath)
|
||||
.map(path -> Pair.of(path, data.relativize(path).toString()))
|
||||
|
||||
Reference in New Issue
Block a user