3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

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" },
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<Thread, StackTraceElement[]> 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")