Skip to content

Fix Minecraft version parsing for Paper builds#38

Open
RobertoVillegas wants to merge 1 commit into
mfnalex:masterfrom
RobertoVillegas:fix-paper-26-version-parsing-clean
Open

Fix Minecraft version parsing for Paper builds#38
RobertoVillegas wants to merge 1 commit into
mfnalex:masterfrom
RobertoVillegas:fix-paper-26-version-parsing-clean

Conversation

@RobertoVillegas

Copy link
Copy Markdown

Summary

  • parse Bukkit/Paper version strings through a reusable McVersion.fromString method
  • handle Paper build metadata such as 26.1.2.build.70-stable and 26.2.build.25-alpha
  • keep legacy Bukkit versions such as 1.21.11-R0.1-SNAPSHOT working

Testing

  • git diff --check
  • attempted: mvn -pl core -am -DskipTests=false test

The full Maven test run was blocked before compilation by dependency resolution for com.comphenix.protocol:ProtocolLib:4.7.0 from the configured repositories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant