mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +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()) {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user