Skip to content

Commit

Permalink
Fixed neoforge special case for 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mindstorm38 committed Jun 30, 2024
1 parent fd91009 commit c6755fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portablemc/forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def _request_neoforge_version(game_version: str) -> Optional[str]:
return None

# Special case for the first version NeoForged was introduced.
if game_version_parts == [1, 20, 1]:
if game_version_parts == ["1", "20", "1"]:
url = "https://maven.neoforged.net/api/maven/latest/version/releases/net%2Fneoforged%2Fforge?filter=1.20.1-"
else:
# Just keep major and minor version number and construct the neoforge version prefix.
Expand Down

0 comments on commit c6755fc

Please sign in to comment.