From 217662fd8418868c99c0e4853060934e22021064 Mon Sep 17 00:00:00 2001 From: ZaneYork Date: Sat, 7 Mar 2020 00:03:22 +0800 Subject: [PATCH] Bug fix --- .../java/com/zane/smapiinstaller/logic/ModAssetsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/zane/smapiinstaller/logic/ModAssetsManager.java b/app/src/main/java/com/zane/smapiinstaller/logic/ModAssetsManager.java index 613c2cf..7a2a624 100644 --- a/app/src/main/java/com/zane/smapiinstaller/logic/ModAssetsManager.java +++ b/app/src/main/java/com/zane/smapiinstaller/logic/ModAssetsManager.java @@ -110,7 +110,7 @@ public class ModAssetsManager { Joiner.on(",").join(Lists.transform(installedMods, item -> CommonLogic.toPrettyPath(item.getAssetPath()))))); return false; } - else if(installedModMap.size() == 0) { + else if(installedMods.size() == 0) { installedMods = installedModMap.get(mod.getUniqueID().replace("ZaneYork.CustomLocalization", "SMAPI.CustomLocalization")); } try {