Fixes partial name matching with /mcrank

This commit is contained in:
TfT_02 2013-03-23 16:22:48 +01:00
parent eb20da021d
commit f9a823e4b0

View File

@ -58,10 +58,10 @@ public class McrankCommand implements CommandExecutor {
} }
if (Config.getInstance().getUseMySQL()) { if (Config.getInstance().getUseMySQL()) {
sqlDisplay(sender, args[0]); sqlDisplay(sender, mcMMOPlayer.getPlayer().getName());
} }
else { else {
flatfileDisplay(sender, args[0]); flatfileDisplay(sender, mcMMOPlayer.getPlayer().getName());
} }
return true; return true;