From 127aeb53b23daac55251f32a4c668f75e8f62341 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Sun, 21 Jun 2020 22:36:18 -0500 Subject: [PATCH] Remove unused util Signed-off-by: Etzelia --- .../xyz/etztech/deluxegroups/DeluxeUtil.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/main/java/xyz/etztech/deluxegroups/DeluxeUtil.java b/src/main/java/xyz/etztech/deluxegroups/DeluxeUtil.java index 14eba42..9a93683 100644 --- a/src/main/java/xyz/etztech/deluxegroups/DeluxeUtil.java +++ b/src/main/java/xyz/etztech/deluxegroups/DeluxeUtil.java @@ -52,23 +52,6 @@ public class DeluxeUtil { ((DynmapAPI) dynmap).setDisableChatToWebProcessing(true); } - public static boolean isGroupChat(List prefixes, String message) { - boolean groupChat = false; - for (String prefix : prefixes) { - // If chat starts with 1 prefix, it is group chat. - if (message.startsWith(prefix)) { - groupChat = true; - message = message.substring(1); - // If chat still starts with the prefix, it means there were two and we are delegating to normal chat - if (message.startsWith(prefix)) { - return false; - } - break; - } - } - return groupChat; - } - public static List trimmed(List list) { for (int i = 0; i < list.size(); i++) { list.set(i, list.get(i).trim());