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());