
ForcePack
Resource pack handling utilities and enforcement, with Velocity and multiple resource packs support.
ForcePack 1.3.75-SNAPSHOT+316 - Sponge
Список изменений
Commit acd0679
Fix version-specific packs being skipped for <1.20.3 clients (#120)
For clients older than 1.20.3, getPacksForVersion broke out of the loop after the first matching pack. Since packs are stored in a HashMap and iterated in non-deterministic order, the "all" fallback could be chosen before the version-specific override was ever considered, so the hasVersionOverride preference filter never ran.
Collect all valid packs, apply the version-override preference filter first, then reduce to a single pack for old clients. Use LinkedHashSet for deterministic selection. Same fix applied to Velocity's searchForValidPacks.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
by SamB440 on 2026-06-15
