diff --git a/src/main/java/dice/sinanya/dice/roll/Dx.java b/src/main/java/dice/sinanya/dice/roll/Dx.java index cd4ee7ff41381a331b5a82a0c72dc2817e7b540b..f0155a98fc3d5d70c1fb291a844eba6dc0959041 100644 --- a/src/main/java/dice/sinanya/dice/roll/Dx.java +++ b/src/main/java/dice/sinanya/dice/roll/Dx.java @@ -17,7 +17,7 @@ import static dice.sinanya.tools.makedata.RandomInt.random; import static dice.sinanya.tools.makedata.Sender.sender; public class Dx implements MakeNickToSender { - private final Pattern getParam = Pattern.compile("(\\d+)*[a]*(\\d+)*([+-])(\\d+)*"); + private final Pattern getParam = Pattern.compile("(\\d+)*[a]*(\\d+)*([+-]{0,1})(\\d+)*"); private final EntityTypeMessages entityTypeMessages; public Dx(EntityTypeMessages entityTypeMessages) { diff --git a/src/main/java/dice/sinanya/system/MessagesSystem.java b/src/main/java/dice/sinanya/system/MessagesSystem.java index 4ad167853810f0dd61de3d8b18160e3043348881..8ef51a8376718fcb772dcad38a11a5f4450db876 100644 --- a/src/main/java/dice/sinanya/system/MessagesSystem.java +++ b/src/main/java/dice/sinanya/system/MessagesSystem.java @@ -26,7 +26,7 @@ public class MessagesSystem { public static boolean isRunning = false; public static SimpleDateFormat DATA_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); - public static String VERSIONS = "7.18.14.20.12Stable"; + public static String VERSIONS = "7.18.14.21.12Stable"; public static HashMap switchList = new HashMap<>(); public static String redisAddress = "r-2ze8k7x0bluc5makrypd.redis.rds.aliyuncs.com";