mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-27 11:07:44 +01:00
Fixes partial name matching with /mcrank
This commit is contained in:
parent
eb20da021d
commit
f9a823e4b0
@ -58,10 +58,10 @@ public class McrankCommand implements CommandExecutor {
|
||||
}
|
||||
|
||||
if (Config.getInstance().getUseMySQL()) {
|
||||
sqlDisplay(sender, args[0]);
|
||||
sqlDisplay(sender, mcMMOPlayer.getPlayer().getName());
|
||||
}
|
||||
else {
|
||||
flatfileDisplay(sender, args[0]);
|
||||
flatfileDisplay(sender, mcMMOPlayer.getPlayer().getName());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user