From 78109eb499e026df4c1d0d067d995e9b6fcb446a Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Sun, 24 Mar 2013 16:30:27 +0100 Subject: [PATCH] Revert "Fixes partial name matching with /mcrank" This reverts commit f9a823e4b04290505ce3745a77ae4e1b3e15c3a0. --- .../java/com/gmail/nossr50/commands/player/McrankCommand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/player/McrankCommand.java b/src/main/java/com/gmail/nossr50/commands/player/McrankCommand.java index 6f3a07285..760afc788 100644 --- a/src/main/java/com/gmail/nossr50/commands/player/McrankCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/player/McrankCommand.java @@ -58,10 +58,10 @@ public class McrankCommand implements CommandExecutor { } if (Config.getInstance().getUseMySQL()) { - sqlDisplay(sender, mcMMOPlayer.getPlayer().getName()); + sqlDisplay(sender, args[0]); } else { - flatfileDisplay(sender, mcMMOPlayer.getPlayer().getName()); + flatfileDisplay(sender, args[0]); } return true;