mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Name methods properly
This commit is contained in:
parent
e6e8470851
commit
7e297ac884
@ -32,7 +32,7 @@ public class McrankCommand implements CommandExecutor {
|
|||||||
if(Config.getInstance().getUseMySQL()) {
|
if(Config.getInstance().getUseMySQL()) {
|
||||||
sqlDisplay(arg0, playerName);
|
sqlDisplay(arg0, playerName);
|
||||||
} else {
|
} else {
|
||||||
flatfileDisplayer(arg0, playerName);
|
flatfileDisplay(arg0, playerName);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -42,7 +42,7 @@ public class McrankCommand implements CommandExecutor {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void flatfileDisplayer(CommandSender sender, String playerName) {
|
public void flatfileDisplay(CommandSender sender, String playerName) {
|
||||||
for (SkillType skillType : SkillType.values()) {
|
for (SkillType skillType : SkillType.values()) {
|
||||||
if (skillType.equals(SkillType.ALL))
|
if (skillType.equals(SkillType.ALL))
|
||||||
continue; // We want the overall ranking to be at the bottom
|
continue; // We want the overall ranking to be at the bottom
|
||||||
|
Loading…
Reference in New Issue
Block a user