Skip to content

Commit

Permalink
UUIDs are now shown in the whois command
Browse files Browse the repository at this point in the history
Fixes CMDBOOK-2390
  • Loading branch information
DarkArc committed May 16, 2014
1 parent e9aa903 commit f477b67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/sk89q/commandbook/InfoComponent.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public void whois(CommandContext args, CommandSender sender) throws CommandExcep

PlayerWhoisEvent event = new PlayerWhoisEvent(offline, sender);

event.addWhoisInformation("UUID", offline.getUniqueId());
if (offline instanceof Player) {
Player player = (Player) offline;
event.addWhoisInformation("Display name", player.getDisplayName());
Expand Down

0 comments on commit f477b67

Please sign in to comment.