Skip to content

Commit

Permalink
add the groups lwc sees players as having in /lwc debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidendra committed May 25, 2012
1 parent edc5ee6 commit d73b2a7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/com/griefcraft/modules/debug/DebugModule.java
Expand Up @@ -82,6 +82,7 @@ public void onCommand(LWCCommandEvent event) {
player.sendMessage(" ");
player.sendMessage(Colors.Gray + "LWC: " + LWCInfo.FULL_VERSION);
player.sendMessage(" ");
player.sendMessage("Groups => " + lwc.getPermissions().getGroups(player));
lwc.sendLocale(player, "lwc.debug.standard");
doPermission(player, "lwc.protect");

Expand All @@ -98,11 +99,7 @@ public void onCommand(LWCCommandEvent event) {
}

player.sendMessage(" ");
lwc.sendLocale(player, "lwc.debug.mod");
doPermission(player, "lwc.mod");

player.sendMessage(" ");
lwc.sendLocale(player, "lwc.debug.admin");
doPermission(player, "lwc.admin");
}

Expand Down

0 comments on commit d73b2a7

Please sign in to comment.