mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-02-05 16:44:47 +08:00
Fixed the name rule of a mod pack.
This commit is contained in:
parent
bef6a2d61b
commit
7076272768
@ -206,7 +206,7 @@ public class ModpackInitializationPanel extends javax.swing.JPanel {
|
||||
wizardData.put(KEY_INCLUDING_LAUNCHER, chkIncludeLauncher.isSelected());
|
||||
}//GEN-LAST:event_chkIncludeLauncherItemStateChanged
|
||||
|
||||
static final Pattern PATTERN = Pattern.compile("[a-zA-Z0-9_u4e00-u9fa5]+$");
|
||||
static final Pattern PATTERN = Pattern.compile("[-a-zA-Z0-9_\\.\u4E00-\u9FA5]+$");
|
||||
|
||||
void checkProblem() {
|
||||
controller.setProblem(null);
|
||||
|
Loading…
Reference in New Issue
Block a user