From a0940ba9e407d7fd817dd454f3164d4fe78afb55 Mon Sep 17 00:00:00 2001 From: Pepich Date: Thu, 2 Mar 2017 21:36:29 +0100 Subject: [PATCH] Fixed chatgroup join/leave messages --- src/com/redstoner/modules/chatgroups/Chatgroups.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/redstoner/modules/chatgroups/Chatgroups.java b/src/com/redstoner/modules/chatgroups/Chatgroups.java index bf1e9ed..44bd101 100644 --- a/src/com/redstoner/modules/chatgroups/Chatgroups.java +++ b/src/com/redstoner/modules/chatgroups/Chatgroups.java @@ -26,7 +26,7 @@ import com.redstoner.modules.Module; * * @author Pepich */ @AutoRegisterListener -@Version(major = 2, minor = 0, revision = 0, compatible = 2) +@Version(major = 2, minor = 0, revision = 1, compatible = 2) public class Chatgroups implements Module, Listener { private static final char defaultKey = ':'; @@ -376,7 +376,7 @@ public class Chatgroups implements Module, Listener * @param message the message to be sent. */ private void sendToGroup(String group, String message) { - Utils.broadcast(null, "message", new BroadcastFilter() + Utils.broadcast(null, message, new BroadcastFilter() { @Override public boolean sendTo(CommandSender recipient)