mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 09:07:48 -04:00
Make sure that there's only one added resource pack in 1.17+
This commit is contained in:
parent
752d46ea12
commit
74ed615157
@ -139,7 +139,7 @@ public class V117CompatUtil {
|
||||
String path = Tools.DIR_GAME_NEW;
|
||||
if(cfg.gamePath != null && !cfg.gamePath.isEmpty()) path = cfg.gamePath;
|
||||
copyResourcePack(path,ctx.getAssets());
|
||||
packList.add(0,"\"assets-v0.zip\"");
|
||||
if(!packList.contains("\"assets-v0.zip\"")) packList.add(0,"\"assets-v0.zip\"");
|
||||
MCOptionUtils.set("resourcePacks",regenPackList(packList));
|
||||
MCOptionUtils.save();
|
||||
PerVersionConfig.update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user