Skip to content

Commit

Permalink
platforms: Always use last version component for Forge build
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
stephan-gh committed Feb 25, 2019
1 parent df91daf commit 28bf2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const Platforms = {
const forgeVersion = build.dependencies.forge;
if (forgeVersion) {
build.labels.push({
name: `Forge ${forgeVersion.split('.')[3]}`,
name: `Forge ${forgeVersion.split('.').pop()}`,
color: 'forge',
title: "Recommended Forge version",
link: `https://files.minecraftforge.net/maven/net/minecraftforge/forge/index_${minecraftVersion}.html`
Expand Down

0 comments on commit 28bf2cc

Please sign in to comment.