mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-01 17:36:46 +01:00
Fixed mcrank and/or mctop
This commit is contained in:
parent
ebd02dc30e
commit
3d7b6e13c9
@ -37,6 +37,9 @@ public class McrankCommandDisplayTask extends BukkitRunnable {
|
||||
if (useChat) {
|
||||
displayChat();
|
||||
}
|
||||
if(sender instanceof Player) {
|
||||
mcMMO.p.getServer().getPlayerExact(playerName).removeMetadata(mcMMO.databaseCommandKey, mcMMO.p);
|
||||
}
|
||||
}
|
||||
|
||||
private void displayChat() {
|
||||
@ -57,7 +60,6 @@ public class McrankCommandDisplayTask extends BukkitRunnable {
|
||||
|
||||
rank = skills.get(null);
|
||||
sender.sendMessage(LocaleLoader.getString("Commands.mcrank.Overall", (rank == null ? LocaleLoader.getString("Commands.mcrank.Unranked") : rank)));
|
||||
player.removeMetadata(mcMMO.databaseCommandKey, mcMMO.p);
|
||||
}
|
||||
|
||||
public void displayBoard() {
|
||||
|
Loading…
Reference in New Issue
Block a user