Skip to content

Commit

Permalink
Revert "Update ModTranslations.java"
Browse files Browse the repository at this point in the history
This reverts commit 816004c.
  • Loading branch information
zkitefly committed Aug 13, 2024
1 parent 816004c commit bd9ab85
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ private boolean loadModSubnameMap() {
String name = mod.getSubname();
if (StringUtils.isNotBlank(name) && !"examplemod".equals(name)) {
modSubnameMap.put(name, mod);
if (name.matches(".* .*$")) { // 如果 name 有且仅有一个空格
name = name.replace(" ", "");
modSubnameMap.put(name, mod);
}
}
}
return true;
Expand Down

0 comments on commit bd9ab85

Please sign in to comment.