[FIX] Add .json ext to profile files

This commit is contained in:
Gravita 2025-06-21 17:52:31 +07:00
parent d2a8bc2c35
commit 230fd22f99

View file

@ -348,7 +348,7 @@ public LocalProfile(ClientProfile profile, HashedDir clientDir, HashedDir assetD
this.profile = profile; this.profile = profile;
this.clientDir = clientDir; this.clientDir = clientDir;
this.assetDir = assetDir; this.assetDir = assetDir;
this.configPath = Path.of(profilesDir).resolve(profile.getDir()); this.configPath = Path.of(profilesDir).resolve(profile.getDir().concat(".json"));
} }
public LocalProfile(ClientProfile profile, HashedDir clientDir, HashedDir assetDir, Path configPath) { public LocalProfile(ClientProfile profile, HashedDir clientDir, HashedDir assetDir, Path configPath) {