mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 10:36:17 +01:00
Completely removed warp command using warp, use /awarp for the advanced portals warps
This commit is contained in:
parent
41c2ed911e
commit
f29a53409a
@ -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
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -12,11 +12,8 @@ commands:
|
||||
description: Can be used to access portal destinations.
|
||||
aliases: [desti]
|
||||
usage: /<command>
|
||||
warp:
|
||||
description: Used to warp to destinations.
|
||||
usage: /<command>
|
||||
awarp:
|
||||
description: Used to warp to destinations (mostly used when /warp is disabled.
|
||||
description: Used to warp to destinations.
|
||||
usage: /<command>
|
||||
permissions:
|
||||
advancedportals.*:
|
||||
|
Loading…
Reference in New Issue
Block a user