0

Changed console output to work like before

This commit is contained in:
Pepich 2017-02-01 18:25:16 +01:00
parent bfc0a23506
commit 0541025beb

View File

@ -24,7 +24,7 @@ import com.redstoner.modules.Module;
*
* @author Pepich */
@AutoRegisterListener
@Version(major = 1, minor = 1, revision = 4, compatible = 1)
@Version(major = 1, minor = 1, revision = 5, compatible = 1)
public class Chatgroups implements Module, Listener
{
private static final char defaultKey = ':';
@ -295,9 +295,9 @@ public class Chatgroups implements Module, Listener
return getGroup(recipient).equals(group);
}
});
if (getGroup(Bukkit.getConsoleSender()).equals(group))
if (!getGroup(Bukkit.getConsoleSender()).equals(group))
{
Utils.log(name + " in " + group + ": " + message);
Utils.log(name + " in " + group + ": " + message + " §8(hidden)");
}
}