how can I prevent minecraft from unloading some resourcepacks when changing version, mainly snapshots