0

Fixed ACT/CGT

This commit is contained in:
Pepich
2017-02-01 21:34:11 +01:00
parent b997c4efdb
commit b2070da2b8
2 changed files with 7 additions and 6 deletions

View File

@@ -200,7 +200,7 @@ public class Chatgroups implements Module, Listener
public boolean cgToggleCommand(CommandSender sender)
{
if (getGroup(sender) != null)
if (cgtoggled.contains(sender))
if (cgtoggled.contains(((Player) sender).getUniqueId()))
{
cgtoggled.remove(((Player) sender).getUniqueId());
Utils.sendMessage(sender, null, "CGT now §cdisabled");