1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 11:37:30 +02:00

Add debug log entry when checking permission groups.

This commit is contained in:
KHobbits
2013-10-20 17:45:37 +01:00
parent 251aa6e768
commit 092488fe86

View File

@@ -651,7 +651,12 @@ public class User extends UserData implements Comparable<User>, IReplyTo, net.es
@Override
public boolean inGroup(final String group)
{
return ess.getPermissionsHandler().inGroup(base, group);
final boolean result = ess.getPermissionsHandler().inGroup(base, group);
if (ess.getSettings().isDebug())
{
ess.getLogger().log(Level.INFO, "checking if " + base.getName() + " is in " + group + " - " + result);
}
return result;
}
@Override