Archived
0

Made Chatgroup Compile again.

This commit is contained in:
minenash
2018-01-15 20:44:05 -05:00
parent 166b69f104
commit b7bfd07eae

View File

@@ -405,8 +405,7 @@ public class Chatgroups implements Module, Listener
public boolean sendTo(CommandSender recipient)
{
String rgroup = getGroup(recipient);
if (rgroup != null
&& (ModuleLoader.exists("Ignore")? Ignore.getIgnoredBy(sender).sendTo(recipient)? true : false : true))
if (rgroup != null)
return rgroup.equals(group);
else
return false;