v1.4.1
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
- For single-file versions, returns immediately
- For multi-file versions, first tries to match platform-specific patterns in filename (e.g., "spigot" for Spigot servers)
- Falls back to avoiding incompatible platform patterns
- Final fallback to primary file or first file
Full Changelog: v1.4.0...v1.4.1