From 403a086ea7ba29e54f6dc7621b89455d69941cb7 Mon Sep 17 00:00:00 2001 From: ProSavage Date: Thu, 26 Jul 2018 18:40:27 -0500 Subject: [PATCH] Super basic /f top which organizes factions by money etc. Just so people dont complain. --- .../java/com/massivecraft/factions/cmd/FCmdRoot.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/FCmdRoot.java b/src/main/java/com/massivecraft/factions/cmd/FCmdRoot.java index e1b676f2..8d03ed70 100644 --- a/src/main/java/com/massivecraft/factions/cmd/FCmdRoot.java +++ b/src/main/java/com/massivecraft/factions/cmd/FCmdRoot.java @@ -222,20 +222,14 @@ public class FCmdRoot extends FCommand { if (P.p.getConfig().getBoolean("enable-faction-flight", false)) { this.addSubCommand(this.cmdFly); - return; } if (Bukkit.getServer().getPluginManager().isPluginEnabled("FactionsTop")) { P.p.log(Level.INFO, "Found FactionsTop plugin. Disabling our own /f top command."); } else { + P.p.log(Level.INFO, "Enabling FactionsTop command, this is a very basic /f top please get a dedicated /f top resource if you want land calculation etc."); this.addSubCommand(this.cmdTop); } - if (P.p.isHookedPlayervaults()) { - P.p.log("Found playervaults hook, adding /f vault and /f setmaxvault commands."); - // this.addSubCommand(new CmdSetMaxVaults()); - // this.addSubCommand(new CmdVault()); - } else { - // this.addSubCommand(new CmdVault()); - } + } @Override