Skip to content

v1.4.1

Choose a tag to compare

@Th0rgal Th0rgal released this 29 Dec 07:44
· 1 commit to master since this release
bebd981

What's Changed

Bug Fixes

  • Fix Modrinth file selection for multi-platform packages: When resolving a dependency version with multiple files (e.g., CommandAPI with Paper.jar and Spigot.jar), Hopper now selects the appropriate file based on the detected platform instead of always picking the "primary" file.

This fixes an issue where Spigot servers would download the Paper variant of CommandAPI (or similar multi-platform plugins), which would fail to load due to Paper-specific classes.

How the fix works

  1. For single-file versions, returns immediately
  2. For multi-file versions, first tries to match platform-specific patterns in filename (e.g., "spigot" for Spigot servers)
  3. Falls back to avoiding incompatible platform patterns
  4. Final fallback to primary file or first file

Full Changelog: v1.4.0...v1.4.1