From 0d794c10042731952c9823105d4b09254d3395b6 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Thu, 10 Oct 2019 20:30:51 -0400 Subject: [PATCH] Minor annotation change. --- .../com/sk89q/worldedit/command/WorldEditCommands.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java index 81e1ff5ed..2395b65bf 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java @@ -73,7 +73,7 @@ public class WorldEditCommands { aliases = { "ver" }, desc = "Get WorldEdit/FAWE version" ) - @CommandQueued(false) + @CommandQueued public void version(Actor actor) { FaweVersion fVer = Fawe.get().getVersion(); String fVerStr = fVer == null ? "unknown" : "-" + fVer.build; @@ -128,7 +128,7 @@ public class WorldEditCommands { aliases = { "debugpaste" }, desc = "Writes a report of latest.log, config.yml, message.yml https://athion.net/ISPaster/paste" ) - @CommandQueued(false) + @CommandQueued @CommandPermissions({"worldedit.report", "worldedit.debugpaste"}) public void report(Actor actor) throws WorldEditException, IOException { BBC.DOWNLOAD_LINK.send(actor, IncendoPaster.debugPaste()); @@ -138,7 +138,7 @@ public class WorldEditCommands { name = "threads", desc = "Print all thread stacks" ) - @CommandQueued(false) + @CommandQueued @CommandPermissions("worldedit.threads") public void threads(Actor actor) throws WorldEditException { Map stacks = Thread.getAllStackTraces(); @@ -188,7 +188,7 @@ public class WorldEditCommands { name = "help", desc = "Displays help for FAWE commands" ) - @CommandQueued(false) + @CommandQueued @CommandPermissions("worldedit.help") public void help(Actor actor, @Switch(name = 's', desc = "List sub-commands of the given command, if applicable")