diff --git a/src/Config.yml b/src/Config.yml index 4f16a40..7e2a841 100644 --- a/src/Config.yml +++ b/src/Config.yml @@ -59,10 +59,6 @@ WarpRiddenEntity: true # generally on the action bar in the chat without a prefix or extra chat formatting) WarpMessageDisplay: 2 - -# Set to true if you want to use the warp command from another plugin -DisableWarpCommand: false - # Use plugin name in the warp messages UseWarpPrefix: true diff --git a/src/com/sekwah/advancedportals/WarpCommand.java b/src/com/sekwah/advancedportals/WarpCommand.java index d224807..49b26aa 100644 --- a/src/com/sekwah/advancedportals/WarpCommand.java +++ b/src/com/sekwah/advancedportals/WarpCommand.java @@ -21,9 +21,7 @@ public class WarpCommand implements CommandExecutor, TabCompleter { ConfigAccessor config = new ConfigAccessor(plugin, "Config.yml"); boolean useWarpCommand = !config.getConfig().getBoolean("DisableWarpCommand"); - if(useWarpCommand){ - plugin.getCommand("warp").setExecutor(this); - } + //plugin.getCommand("warp").setExecutor(this); plugin.getCommand("awarp").setExecutor(this); } diff --git a/src/plugin.yml b/src/plugin.yml index ae38d7f..de9c98d 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -12,11 +12,8 @@ commands: description: Can be used to access portal destinations. aliases: [desti] usage: / - warp: - description: Used to warp to destinations. - usage: / awarp: - description: Used to warp to destinations (mostly used when /warp is disabled. + description: Used to warp to destinations. usage: / permissions: advancedportals.*: