From 13c1939fe8dafd3971d1748639a7479b937a0fca Mon Sep 17 00:00:00 2001 From: Pepich Date: Wed, 1 Feb 2017 21:22:52 +0100 Subject: [PATCH] Changed getCgKey method to void type --- src/com/redstoner/modules/chatgroups/Chatgroups.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/com/redstoner/modules/chatgroups/Chatgroups.java b/src/com/redstoner/modules/chatgroups/Chatgroups.java index 9609863..02e4b6c 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 = 1, minor = 1, revision = 10, compatible = 1) +@Version(major = 1, minor = 1, revision = 11, compatible = 1) public class Chatgroups implements Module, Listener { private static final char defaultKey = ':'; @@ -160,12 +160,10 @@ public class Chatgroups implements Module, Listener /** Prints a Players cgkey to their chat. * - * @param sender the issuer of the command. - * @return true. */ - public boolean getCgKey(CommandSender sender) + * @param sender the issuer of the command. */ + public void getCgKey(CommandSender sender) { Utils.sendMessage(sender, null, "Your current cgkey is ยง6" + getKey((Player) sender)); - return true; } /** Sets the cgkey of a Player.