aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHackedOS <63157139+HackedOS@users.noreply.github.com>2022-05-14 20:37:13 +0530
committerHackedOS <63157139+HackedOS@users.noreply.github.com>2022-05-14 20:37:13 +0530
commit01cf4007b7ab24937fb6c831be6ae7fc481d88ef (patch)
tree54318daeb9a8ddb3667d1d6f5c708d6720a75dd6
parentd5fe0f0036400b9b726a615429ce99e03d0f7d63 (diff)
downloadCOFL-01cf4007b7ab24937fb6c831be6ae7fc481d88ef.tar.gz
COFL-01cf4007b7ab24937fb6c831be6ae7fc481d88ef.tar.bz2
COFL-01cf4007b7ab24937fb6c831be6ae7fc481d88ef.zip
Fix crash bcz untested code
-rw-r--r--src/main/java/de/torui/coflsky/EventRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/torui/coflsky/EventRegistry.java b/src/main/java/de/torui/coflsky/EventRegistry.java
index 0e9aa6e..43276db 100644
--- a/src/main/java/de/torui/coflsky/EventRegistry.java
+++ b/src/main/java/de/torui/coflsky/EventRegistry.java
@@ -39,7 +39,7 @@ import static de.torui.coflsky.EventHandler.ScoreboardData;
import static de.torui.coflsky.EventHandler.TabMenuData;
public class EventRegistry {
- public static Pattern chatpattern = Pattern.compile(Configuration.getInstance().chatRegex, Pattern.CASE_INSENSITIVE);
+ public static Pattern chatpattern = Pattern.compile("", Pattern.CASE_INSENSITIVE);
public final ExecutorService chatThreadPool = Executors.newFixedThreadPool(2);
public final ExecutorService tickThreadPool = Executors.newFixedThreadPool(2);
@SubscribeEvent