diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandinfo.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandinfo.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandinfo.java b/Essentials/src/com/earth2me/essentials/commands/Commandinfo.java index a8b10cf36..2ee915f7c 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandinfo.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandinfo.java @@ -18,6 +18,11 @@ public class Commandinfo extends EssentialsCommand @Override protected void run(final Server server, final CommandSource sender, final String commandLabel, final String[] args) throws Exception { + if (sender.isPlayer()) + { + ess.getUser(sender.getPlayer()).setDisplayNick(); + } + final IText input = new TextInput(sender, "info", true, ess); final IText output = new KeywordReplacer(input, sender, ess); final TextPager pager = new TextPager(output); |