mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
mcrank now works again with scoreboards disabled
This commit is contained in:
parent
657e66f3c5
commit
4f3174c68b
@ -105,7 +105,7 @@ public class McrankCommand implements TabExecutor {
|
||||
mcMMOPlayer.actualizeDatabaseATS();
|
||||
}
|
||||
|
||||
boolean useBoard = (sender instanceof Player) && (Config.getInstance().getRankUseBoard());
|
||||
boolean useBoard = Config.getInstance().getScoreboardsEnabled() && (sender instanceof Player) && (Config.getInstance().getRankUseBoard());
|
||||
boolean useChat = !useBoard || Config.getInstance().getRankUseChat();
|
||||
|
||||
new McrankCommandAsyncTask(playerName, sender, useBoard, useChat).runTaskAsynchronously(mcMMO.p);
|
||||
|
@ -564,8 +564,8 @@ Commands.mchud.Invalid=That is not a valid HUD type.
|
||||
Commands.mcpurge.Success=[[GREEN]]The database was successfully purged!
|
||||
Commands.mcrank.Heading=[[GOLD]]-=PERSONAL RANKINGS=-
|
||||
Commands.mcrank.Overall=Overall[[GREEN]] - [[GOLD]]Rank [[WHITE]]#[[GREEN]]{0}
|
||||
Commands.mcrank.Player=TARGET: [[WHITE]]{0}
|
||||
Commands.mcrank.Skill={0}[[GREEN]] - [[GOLD]]Rank [[WHITE]]#[[GREEN]]{1}
|
||||
Commands.mcrank.Player=[[YELLOW]]Rankings for [[WHITE]]{0}
|
||||
Commands.mcrank.Skill=[[YELLOW]]{0}[[GREEN]] - [[GOLD]]Rank [[WHITE]]#[[GREEN]]{1}
|
||||
Commands.mcrank.Unranked=[[WHITE]]Unranked
|
||||
Commands.mcrefresh.Success={0}''s cooldowns have been refreshed.
|
||||
Commands.mcremove.Success=[[GREEN]]{0} was successfully removed from the database!
|
||||
|
Loading…
Reference in New Issue
Block a user