From 58ff94539f7e9fc092c2755bb9aba884abe7f5ee Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 22 Dec 2021 06:50:31 -0500 Subject: fix /locraw bug, bumped version (#37) closes #35 --- src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java b/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java index 6b901622..fab85dc7 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java @@ -87,7 +87,7 @@ public class SBInfo { unloadedWorld = System.currentTimeMillis(); } - private static final Pattern JSON_BRACKET_PATTERN = Pattern.compile("\\{.+}"); + private static final Pattern JSON_BRACKET_PATTERN = Pattern.compile("^\\{.+}"); public void onSendChatMessage(String msg) { if (msg.trim().startsWith("/locraw") || msg.trim().startsWith("/locraw ")) { -- cgit