Skip to content

Commit

Permalink
Исправил не корректно обработка отсутствия инсталлятора
Browse files Browse the repository at this point in the history
  • Loading branch information
kostya-main committed Jan 15, 2025
1 parent b6079a4 commit f754cc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { InstallProfile, VersionProfiles, Libraries } from "../interfaces/IForge

@Service()
export class NeoForgeManager extends MojangManager {
#forgeInstall = readdirSync(StorageHelper.storageDir).filter(s => s.includes('neoforge') && extname(s) === '.jar')[0].toString()
#forgeInstall = readdirSync(StorageHelper.storageDir).filter(s => s.includes('neoforge') && extname(s) === '.jar')[0]?.toString()
#tempDir = StorageHelper.getTmpPath()

async downloadClient(gameVersion: string, clientName: string) {
Expand Down

0 comments on commit f754cc9

Please sign in to comment.