From 58b90d6aa9a5c47863845d25d178856e68ec35bb Mon Sep 17 00:00:00 2001 From: lyf Date: Wed, 28 Oct 2020 01:47:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DDX=E9=AA=B0=E5=AD=90?= =?UTF-8?q?=E5=9C=A8=E6=B2=A1=E6=9C=89+-=E8=BF=90=E7=AE=97=E7=AC=A6?= =?UTF-8?q?=E6=97=B6=E6=9C=AA=E8=83=BD=E4=BA=89=E5=8F=96=E6=8D=95=E8=8E=B7?= =?UTF-8?q?=E7=AE=97=E5=BC=8F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/dice/sinanya/dice/roll/Dx.java | 2 +- src/main/java/dice/sinanya/system/MessagesSystem.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/dice/sinanya/dice/roll/Dx.java b/src/main/java/dice/sinanya/dice/roll/Dx.java index cd4ee7ff..f0155a98 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 4ad16785..8ef51a83 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"; -- Gitee