Skip to content

Commit

Permalink
fix type regression
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Jan 12, 2025
1 parent 30dd64a commit c070fe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/supportedVersions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { supportedVersions, postNettyVersionsByProtocolVersion } from 'minecraft

export const ignoredVersionsRegex = /(^0\.30c$)|w|-pre|-rc/

/** @type {string[]} */
const versionsFromProtocol = Object.values(postNettyVersionsByProtocolVersion.pc).flat().filter(x => !ignoredVersionsRegex.test(x.minecraftVersion)).map(x => x.minecraftVersion)

export default versionsFromProtocol.filter(x => x !== '1.7' && !x.startsWith('1.7.'))

0 comments on commit c070fe8

Please sign in to comment.