File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Essentials/src/com/earth2me/essentials Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -645,7 +645,12 @@ public boolean isGodModeEnabledRaw()
645645 @ Override
646646 public String getGroup ()
647647 {
648- return ess .getPermissionsHandler ().getGroup (base );
648+ final String result = ess .getPermissionsHandler ().getGroup (base );
649+ if (ess .getSettings ().isDebug ())
650+ {
651+ ess .getLogger ().log (Level .INFO , "looking up groupname of " + base .getName () + " - " + result );
652+ }
653+ return result ;
649654 }
650655
651656 @ Override
@@ -654,7 +659,7 @@ public boolean inGroup(final String group)
654659 final boolean result = ess .getPermissionsHandler ().inGroup (base , group );
655660 if (ess .getSettings ().isDebug ())
656661 {
657- ess .getLogger ().log (Level .INFO , "checking if " + base .getName () + " is in " + group + " - " + result );
662+ ess .getLogger ().log (Level .INFO , "checking if " + base .getName () + " is in group " + group + " - " + result );
658663 }
659664 return result ;
660665 }
You can’t perform that action at this time.
0 commit comments