aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-22 06:50:31 -0500
committerGitHub <noreply@github.com>2021-12-22 06:50:31 -0500
commit58ff94539f7e9fc092c2755bb9aba884abe7f5ee (patch)
tree605fdf64c6e8400a8869747637ffd4199945a73f /src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java
parent2aef9a1a59ae9588b5d9731e1d8162c486461d7f (diff)
downloadnotenoughupdates-58ff94539f7e9fc092c2755bb9aba884abe7f5ee.tar.gz
notenoughupdates-58ff94539f7e9fc092c2755bb9aba884abe7f5ee.tar.bz2
notenoughupdates-58ff94539f7e9fc092c2755bb9aba884abe7f5ee.zip
fix /locraw bug, bumped version (#37)
closes #35
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/SBInfo.java2
1 files changed, 1 insertions, 1 deletions
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 ")) {