Fixed chatgroup join/leave messages
This commit is contained in:
parent
9422b8183b
commit
a0940ba9e4
@ -26,7 +26,7 @@ import com.redstoner.modules.Module;
|
|||||||
*
|
*
|
||||||
* @author Pepich */
|
* @author Pepich */
|
||||||
@AutoRegisterListener
|
@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
|
public class Chatgroups implements Module, Listener
|
||||||
{
|
{
|
||||||
private static final char defaultKey = ':';
|
private static final char defaultKey = ':';
|
||||||
@ -376,7 +376,7 @@ public class Chatgroups implements Module, Listener
|
|||||||
* @param message the message to be sent. */
|
* @param message the message to be sent. */
|
||||||
private void sendToGroup(String group, String message)
|
private void sendToGroup(String group, String message)
|
||||||
{
|
{
|
||||||
Utils.broadcast(null, "message", new BroadcastFilter()
|
Utils.broadcast(null, message, new BroadcastFilter()
|
||||||
{
|
{
|
||||||
@Override
|
@Override
|
||||||
public boolean sendTo(CommandSender recipient)
|
public boolean sendTo(CommandSender recipient)
|
||||||
|
Reference in New Issue
Block a user