mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 08:39:49 +01:00
Fixing mcrank reading from FFS when on SQL
This commit is contained in:
parent
92fc00bb0a
commit
793538d4ef
@ -20,6 +20,7 @@ public class McrankCommand implements CommandExecutor {
|
||||
@Override
|
||||
public boolean onCommand(CommandSender arg0, Command arg1, String arg2, String[] arg3) {
|
||||
//I'm being lazy and making this only work on yourself, I or someone else will make this work on other players in the future :D
|
||||
if(!Config.getInstance().getUseMySQL())
|
||||
Leaderboard.updateLeaderboards(); //Make sure the information is up to date
|
||||
|
||||
if(arg0 instanceof Player) {
|
||||
|
Loading…
Reference in New Issue
Block a user