diff --git a/src/com/redstoner/modules/chatgroups/Chatgroups.java b/src/com/redstoner/modules/chatgroups/Chatgroups.java index 701a7e0..d90e826 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 = 2, revision = 2, compatible = 1) +@Version(major = 1, minor = 2, revision = 3, compatible = 1) public class Chatgroups implements Module, Listener { private static final char defaultKey = ':'; @@ -352,7 +352,7 @@ public class Chatgroups implements Module, Listener return false; } }); - if (!getGroup(Bukkit.getConsoleSender()).equals(group)) + if (getGroup(Bukkit.getConsoleSender()) == null || !getGroup(Bukkit.getConsoleSender()).equals(group)) { Utils.log(name + " in " + group + ": " + message + " ยง8(hidden)"); }