Merge pull request #10520 from AdmiralCurtiss/resource-pack-init-crash ResourcePack: Avoid crashes on invalid packs during Init().