Minor annotation change.

Dieser Commit ist enthalten in:
MattBDev 2019-10-10 20:30:51 -04:00
Ursprung c9aa6816df
Commit 0d794c1004

Datei anzeigen

@ -73,7 +73,7 @@ public class WorldEditCommands {
aliases = { "ver" }, aliases = { "ver" },
desc = "Get WorldEdit/FAWE version" desc = "Get WorldEdit/FAWE version"
) )
@CommandQueued(false) @CommandQueued
public void version(Actor actor) { public void version(Actor actor) {
FaweVersion fVer = Fawe.get().getVersion(); FaweVersion fVer = Fawe.get().getVersion();
String fVerStr = fVer == null ? "unknown" : "-" + fVer.build; String fVerStr = fVer == null ? "unknown" : "-" + fVer.build;
@ -128,7 +128,7 @@ public class WorldEditCommands {
aliases = { "debugpaste" }, aliases = { "debugpaste" },
desc = "Writes a report of latest.log, config.yml, message.yml https://athion.net/ISPaster/paste" desc = "Writes a report of latest.log, config.yml, message.yml https://athion.net/ISPaster/paste"
) )
@CommandQueued(false) @CommandQueued
@CommandPermissions({"worldedit.report", "worldedit.debugpaste"}) @CommandPermissions({"worldedit.report", "worldedit.debugpaste"})
public void report(Actor actor) throws WorldEditException, IOException { public void report(Actor actor) throws WorldEditException, IOException {
BBC.DOWNLOAD_LINK.send(actor, IncendoPaster.debugPaste()); BBC.DOWNLOAD_LINK.send(actor, IncendoPaster.debugPaste());
@ -138,7 +138,7 @@ public class WorldEditCommands {
name = "threads", name = "threads",
desc = "Print all thread stacks" desc = "Print all thread stacks"
) )
@CommandQueued(false) @CommandQueued
@CommandPermissions("worldedit.threads") @CommandPermissions("worldedit.threads")
public void threads(Actor actor) throws WorldEditException { public void threads(Actor actor) throws WorldEditException {
Map<Thread, StackTraceElement[]> stacks = Thread.getAllStackTraces(); Map<Thread, StackTraceElement[]> stacks = Thread.getAllStackTraces();
@ -188,7 +188,7 @@ public class WorldEditCommands {
name = "help", name = "help",
desc = "Displays help for FAWE commands" desc = "Displays help for FAWE commands"
) )
@CommandQueued(false) @CommandQueued
@CommandPermissions("worldedit.help") @CommandPermissions("worldedit.help")
public void help(Actor actor, public void help(Actor actor,
@Switch(name = 's', desc = "List sub-commands of the given command, if applicable") @Switch(name = 's', desc = "List sub-commands of the given command, if applicable")