From 01cf4007b7ab24937fb6c831be6ae7fc481d88ef Mon Sep 17 00:00:00 2001 From: HackedOS <63157139+HackedOS@users.noreply.github.com> Date: Sat, 14 May 2022 20:37:13 +0530 Subject: Fix crash bcz untested code --- src/main/java/de/torui/coflsky/EventRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit