diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Add.java b/src/main/java/com/intellectualcrafters/plot/commands/Add.java index 2b9f685b5..cf3c51bb1 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Add.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Add.java @@ -43,7 +43,7 @@ import java.util.UUID; usage = "/plot add ", category = CommandCategory.ACTIONS, permission = "plots.add", - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Add extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Auto.java b/src/main/java/com/intellectualcrafters/plot/commands/Auto.java index cebe73e4b..3593557bf 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Auto.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Auto.java @@ -34,7 +34,7 @@ import com.plotsquared.general.commands.CommandDeclaration; command = "auto", permission = "plots.auto", category = CommandCategory.CLAIMING, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, description = "Claim the nearest plot", aliases = {"a"}, usage = "/plot auto" diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Buy.java b/src/main/java/com/intellectualcrafters/plot/commands/Buy.java index 772049b33..ba15951ee 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Buy.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Buy.java @@ -39,7 +39,7 @@ import com.plotsquared.general.commands.CommandDeclaration; usage = "/plot buy", permission = "plots.buy", category = CommandCategory.CLAIMING, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Buy extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Chat.java b/src/main/java/com/intellectualcrafters/plot/commands/Chat.java index 47902a4b8..529185148 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Chat.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Chat.java @@ -12,7 +12,7 @@ import com.plotsquared.general.commands.CommandDeclaration; usage = "/plot chat [on|off]", permission = "plots.chat", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Chat extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Claim.java b/src/main/java/com/intellectualcrafters/plot/commands/Claim.java index 2779aad09..6a58d8c03 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Claim.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Claim.java @@ -33,7 +33,7 @@ import com.plotsquared.general.commands.CommandDeclaration; aliases = {"c"}, description = "Claim the current plot you're standing on", category = CommandCategory.CLAIMING, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plots.claim", usage = "/plot claim" ) diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java b/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java index da1ce940e..3a7003f02 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Cluster.java @@ -40,7 +40,7 @@ import java.util.UUID; command = "cluster", aliases = {"clusters"}, category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plots.cluster", description = "Manage a plot cluster" ) diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Comment.java b/src/main/java/com/intellectualcrafters/plot/commands/Comment.java index e7f35cd84..b75bfb4d5 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Comment.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Comment.java @@ -39,7 +39,7 @@ import java.util.Arrays; aliases = {"msg"}, description = "Comment on a plot", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plot.comment" ) public class Comment extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Copy.java b/src/main/java/com/intellectualcrafters/plot/commands/Copy.java index bd9f7118d..5d7103e24 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Copy.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Copy.java @@ -37,7 +37,7 @@ import com.plotsquared.general.commands.CommandDeclaration; category = CommandCategory.ACTIONS, description = "Copy a plot", usage = "/plot copy ", - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Copy extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/CreateRoadSchematic.java b/src/main/java/com/intellectualcrafters/plot/commands/CreateRoadSchematic.java index 815aa0666..3294923ef 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/CreateRoadSchematic.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/CreateRoadSchematic.java @@ -34,7 +34,7 @@ import com.plotsquared.general.commands.CommandDeclaration; command = "createroadschematic", aliases = {"crs"}, category = CommandCategory.DEBUG, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plots.createroadschematic", description = "Add a road schematic to your world using the roads around your current plot", usage = "/plot createroadschematic" diff --git a/src/main/java/com/intellectualcrafters/plot/commands/DebugAllowUnsafe.java b/src/main/java/com/intellectualcrafters/plot/commands/DebugAllowUnsafe.java index e8d6e7678..ccdcc6c12 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/DebugAllowUnsafe.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/DebugAllowUnsafe.java @@ -13,7 +13,7 @@ import java.util.UUID; description = "Allow unsafe actions until toggled off", usage = "/plot debugallowunsafe", category = CommandCategory.DEBUG, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plots.debugallowunsafe" ) public class DebugAllowUnsafe extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/DebugFill.java b/src/main/java/com/intellectualcrafters/plot/commands/DebugFill.java index 756e1859e..f9c052f2f 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/DebugFill.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/DebugFill.java @@ -38,7 +38,7 @@ import com.plotsquared.general.commands.CommandDeclaration; usage = "/plot fill", aliases = {"debugfill"}, category = CommandCategory.DEBUG, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class DebugFill extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/DebugRoadRegen.java b/src/main/java/com/intellectualcrafters/plot/commands/DebugRoadRegen.java index 6b591d1f8..d3341c00f 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/DebugRoadRegen.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/DebugRoadRegen.java @@ -33,7 +33,7 @@ import com.plotsquared.general.commands.CommandDeclaration; @CommandDeclaration( command = "debugroadregen", usage = "/plot debugroadregen", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, description = "Regenerate all roads based on the road schematic", category = CommandCategory.DEBUG, permission = "plots.debugroadregen" diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Delete.java b/src/main/java/com/intellectualcrafters/plot/commands/Delete.java index e58c6f0ba..4eed927f4 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Delete.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Delete.java @@ -36,7 +36,7 @@ import com.plotsquared.general.commands.CommandDeclaration; description = "Delete a plot", usage = "/plot delete", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Delete extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Deny.java b/src/main/java/com/intellectualcrafters/plot/commands/Deny.java index 4a2566731..8c494d264 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Deny.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Deny.java @@ -38,7 +38,7 @@ import java.util.UUID; description = "Deny a user from a plot", usage = "/plot deny ", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Deny extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Download.java b/src/main/java/com/intellectualcrafters/plot/commands/Download.java index c75a0b63a..738530f48 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Download.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Download.java @@ -19,7 +19,7 @@ import java.net.URL; command = "download", aliases = {"dl"}, category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, description = "Download your plot", permission = "plots.download" ) diff --git a/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java b/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java index d66de56f2..149d2f934 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/FlagCmd.java @@ -43,7 +43,7 @@ import java.util.HashMap; aliases = {"f"}, description = "Manage plot flags", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plots.flag" ) public class FlagCmd extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Home.java b/src/main/java/com/intellectualcrafters/plot/commands/Home.java index bc990d0dc..9f614d26c 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Home.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Home.java @@ -35,7 +35,7 @@ import java.util.ArrayList; description = "Go to your plot", usage = "/plot home [id|alias]", category = CommandCategory.TELEPORT, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Home extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java b/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java index 53a8123dd..daf42c1f5 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Inbox.java @@ -41,7 +41,7 @@ import java.util.List; usage = "/plot inbox [inbox] [delete |clear|page]", permission = "plots.inbox", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Inbox extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Kick.java b/src/main/java/com/intellectualcrafters/plot/commands/Kick.java index b160b136d..4157384c2 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Kick.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Kick.java @@ -36,7 +36,7 @@ import com.plotsquared.general.commands.CommandDeclaration; description = "Kick a player from your plot", permission = "plots.kick", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Kick extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Load.java b/src/main/java/com/intellectualcrafters/plot/commands/Load.java index fde42348d..c4a1085b7 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Load.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Load.java @@ -22,7 +22,7 @@ import java.util.List; command = "load", aliases = {"restore"}, category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, description = "Load your plot", permission = "plots.load", usage = "/plot restore" diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Merge.java b/src/main/java/com/intellectualcrafters/plot/commands/Merge.java index 433b86740..ade105c94 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Merge.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Merge.java @@ -39,7 +39,7 @@ import java.util.UUID; permission = "plots.merge", usage = "/plot merge [direction]", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Merge extends SubCommand { public final static String[] values = new String[] { "north", "east", "south", "west" }; diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Move.java b/src/main/java/com/intellectualcrafters/plot/commands/Move.java index 3de14163f..cc35dd5e4 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Move.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Move.java @@ -34,7 +34,7 @@ import com.plotsquared.general.commands.CommandDeclaration; aliases = {"debugmove"}, permission = "plots.move", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Move extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/MusicSubcommand.java b/src/main/java/com/intellectualcrafters/plot/commands/MusicSubcommand.java index 4e337ce5a..2a7adbb02 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/MusicSubcommand.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/MusicSubcommand.java @@ -34,7 +34,7 @@ import com.plotsquared.general.commands.CommandDeclaration; description = "Player music in a plot", usage = "/plot music", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class MusicSubcommand extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Rate.java b/src/main/java/com/intellectualcrafters/plot/commands/Rate.java index 28aeeebf8..881b2ffbf 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Rate.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Rate.java @@ -46,7 +46,7 @@ import java.util.UUID; usage = "/plot rate [#|next]", aliases = {"rt"}, category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Rate extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Remove.java b/src/main/java/com/intellectualcrafters/plot/commands/Remove.java index 21444db3b..4226d98bf 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Remove.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Remove.java @@ -41,7 +41,7 @@ import java.util.UUID; description = "Remove a player from a plot", usage = "/plot remove ", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plots.remove" ) public class Remove extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Save.java b/src/main/java/com/intellectualcrafters/plot/commands/Save.java index c967d3231..c6256ea59 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Save.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Save.java @@ -23,7 +23,7 @@ import java.util.UUID; aliases = {"backup"}, description = "Save your plot", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, permission = "plots.save" ) public class Save extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Set.java b/src/main/java/com/intellectualcrafters/plot/commands/Set.java index 96dcbecd1..d7c4edd85 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Set.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Set.java @@ -45,7 +45,7 @@ import java.util.List; usage = "/plot set ", permission = "plots.set", category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Set extends SubCommand { public final static String[] values = new String[] { "biome", "alias", "home", "flag" }; diff --git a/src/main/java/com/intellectualcrafters/plot/commands/SetOwner.java b/src/main/java/com/intellectualcrafters/plot/commands/SetOwner.java index 897c8a101..d8ca3b2e3 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/SetOwner.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/SetOwner.java @@ -44,7 +44,7 @@ import java.util.UUID; usage = "/plot setowner ", aliases = {"so"}, category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class SetOwner extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Swap.java b/src/main/java/com/intellectualcrafters/plot/commands/Swap.java index c825eb68b..7e5ceb03c 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Swap.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Swap.java @@ -35,7 +35,7 @@ import java.util.ArrayList; description = "Swap two plots", aliases = {"switch"}, category = CommandCategory.ACTIONS, - requiredType = RequiredType.PLAYER + requiredType = RequiredType.NONE ) public class Swap extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/TP.java b/src/main/java/com/intellectualcrafters/plot/commands/TP.java index db7aa565d..c87a473aa 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/TP.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/TP.java @@ -38,7 +38,7 @@ import org.apache.commons.lang.StringUtils; description = "Teleport to a plot", permission = "plots.tp", usage = "/plot tp ", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.TELEPORT ) public class TP extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Target.java b/src/main/java/com/intellectualcrafters/plot/commands/Target.java index 8c4782596..839ec6050 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Target.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Target.java @@ -34,7 +34,7 @@ import com.plotsquared.general.commands.CommandDeclaration; usage = "/plot target ", description = "Target a plot with your compass", permission = "plots.target", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.ACTIONS ) public class Target extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Toggle.java b/src/main/java/com/intellectualcrafters/plot/commands/Toggle.java index b1c128aee..a4be789c6 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Toggle.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Toggle.java @@ -33,7 +33,7 @@ import com.plotsquared.general.commands.CommandDeclaration; permission = "plots.toggle", description = "Toggle per user settings", usage = "/plot toggle ", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.ACTIONS ) public class Toggle extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Trust.java b/src/main/java/com/intellectualcrafters/plot/commands/Trust.java index 94b935622..c9f3f25ac 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Trust.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Trust.java @@ -39,7 +39,7 @@ import java.util.UUID; @CommandDeclaration( command = "trust", aliases = {"t"}, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, usage = "/plot trust ", description = "Allow a player to build in a plot", category = CommandCategory.ACTIONS diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Unclaim.java b/src/main/java/com/intellectualcrafters/plot/commands/Unclaim.java index 4572c5406..22f5003aa 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Unclaim.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Unclaim.java @@ -34,7 +34,7 @@ import com.plotsquared.general.commands.CommandDeclaration; @CommandDeclaration( command = "unclaim", usage = "/plot unclaim", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, description = "Unclaim a plot", category = CommandCategory.ACTIONS ) diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Undeny.java b/src/main/java/com/intellectualcrafters/plot/commands/Undeny.java index 345d3f9d2..134b41e62 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Undeny.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Undeny.java @@ -39,7 +39,7 @@ import java.util.UUID; aliases = {"ud"}, description = "Remove a denied user from a plot", usage = "/plot undeny ", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.ACTIONS ) public class Undeny extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Unlink.java b/src/main/java/com/intellectualcrafters/plot/commands/Unlink.java index a2d98c67b..4a7a52833 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Unlink.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Unlink.java @@ -36,7 +36,7 @@ import com.plotsquared.general.commands.CommandDeclaration; aliases = {"u"}, description = "Unlink a mega-plot", usage = "/plot unlink", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.ACTIONS ) public class Unlink extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Untrust.java b/src/main/java/com/intellectualcrafters/plot/commands/Untrust.java index 0d3a0eb88..5d8448d11 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Untrust.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Untrust.java @@ -41,7 +41,7 @@ import java.util.UUID; permission = "plot.untrust", description = "Remove a trusted user from a plot", usage = "/plot untrust ", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.ACTIONS ) public class Untrust extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/Visit.java b/src/main/java/com/intellectualcrafters/plot/commands/Visit.java index 1b21cbfd5..5eae851ed 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/Visit.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/Visit.java @@ -40,7 +40,7 @@ import java.util.UUID; description = "Visit someones plot", usage = "/plot visit [#]", aliases = {"v}"}, - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.TELEPORT ) public class Visit extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/commands/WE_Anywhere.java b/src/main/java/com/intellectualcrafters/plot/commands/WE_Anywhere.java index 03dec7984..583eaebc8 100644 --- a/src/main/java/com/intellectualcrafters/plot/commands/WE_Anywhere.java +++ b/src/main/java/com/intellectualcrafters/plot/commands/WE_Anywhere.java @@ -34,7 +34,7 @@ import com.plotsquared.general.commands.CommandDeclaration; description = "Force bypass of WorldEdit", aliases = {"wea"}, usage = "/plot weanywhere", - requiredType = RequiredType.PLAYER, + requiredType = RequiredType.NONE, category = CommandCategory.DEBUG ) public class WE_Anywhere extends SubCommand { diff --git a/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java b/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java index 35b29fa3f..d1b572f1c 100644 --- a/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java +++ b/src/main/java/com/intellectualcrafters/plot/util/MainUtil.java @@ -78,7 +78,7 @@ public class MainUtil { public static Location getPlotCenter(Plot plot) { Location bot = getPlotBottomLoc(plot.world, plot.id); - Location top = getPlotBottomLoc(plot.world, plot.id).add(1, 0, 1); + Location top = getPlotTopLoc(plot.world, plot.id).add(1, 0, 1); return new Location(plot.world, bot.getX() + (top.getX() - bot.getX()) / 2, 0, bot.getZ() + (top.getZ() - bot.getZ()) / 2); }