fix(mod): does not translate mod with id "examplemod"

This commit is contained in:
huanghongxun 2021-10-13 21:20:08 +08:00
parent 673bc75cd5
commit 2852821d2c

View File

@ -119,9 +119,11 @@ public final class ModTranslations {
modIdMap = new HashMap<>();
for (Mod mod : mods) {
for (String id : mod.getModIds()) {
if (StringUtils.isNotBlank(id) && !"examplemod".equals(id)) {
modIdMap.put(id, mod);
}
}
}
return true;
}