Merge pull request #512 from CocoTheOwner/whatArguse

Copy pasta eaten and processed :]
This commit is contained in:
Dan 2021-08-08 04:34:21 -04:00 committed by GitHub
commit 535f1b5988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 5 additions and 10 deletions

View File

@ -69,6 +69,6 @@ public class CommandIrisJigsaw extends MortarCommand {
@Override @Override
protected String getArgsUsage() { protected String getArgsUsage() {
return ""; return "[subcommand]";
} }
} }

View File

@ -42,7 +42,6 @@ public class CommandIrisWhat extends MortarCommand {
public CommandIrisWhat() { public CommandIrisWhat() {
super("what", "w", "?"); super("what", "w", "?");
setDescription("Get timings for this world");
requiresPermission(Iris.perm.studio); requiresPermission(Iris.perm.studio);
setCategory("Wut"); setCategory("Wut");
setDescription("Figure out what stuff is"); setDescription("Figure out what stuff is");
@ -62,6 +61,6 @@ public class CommandIrisWhat extends MortarCommand {
@Override @Override
protected String getArgsUsage() { protected String getArgsUsage() {
return ""; return "[subcommand]";
} }
} }

View File

@ -33,7 +33,6 @@ import org.bukkit.entity.Player;
public class CommandIrisWhatBiome extends MortarCommand { public class CommandIrisWhatBiome extends MortarCommand {
public CommandIrisWhatBiome() { public CommandIrisWhatBiome() {
super("biome", "bi", "b"); super("biome", "bi", "b");
setDescription("Get the biome data you are in.");
requiresPermission(Iris.perm.studio); requiresPermission(Iris.perm.studio);
setCategory("Wut"); setCategory("Wut");
setDescription("What biome am I in"); setDescription("What biome am I in");

View File

@ -31,10 +31,9 @@ import org.bukkit.entity.Player;
public class CommandIrisWhatBlock extends MortarCommand { public class CommandIrisWhatBlock extends MortarCommand {
public CommandIrisWhatBlock() { public CommandIrisWhatBlock() {
super("block", "l", "bl"); super("block", "l", "bl");
setDescription("Get the block data for looking."); setDescription("Get the block data of the block you're looking at.");
requiresPermission(Iris.perm.studio); requiresPermission(Iris.perm.studio);
setCategory("Wut"); setCategory("Wut");
setDescription("WAILA, WAWLA etc");
} }
@Override @Override

View File

@ -37,7 +37,6 @@ public class CommandIrisWhatFeatures extends MortarCommand {
setDescription("Get the noise feature data in chunk."); setDescription("Get the noise feature data in chunk.");
requiresPermission(Iris.perm.studio); requiresPermission(Iris.perm.studio);
setCategory("Wut"); setCategory("Wut");
setDescription("WAILA, WAWLA etc");
} }
@Override @Override

View File

@ -30,10 +30,9 @@ import org.bukkit.entity.Player;
public class CommandIrisWhatHand extends MortarCommand { public class CommandIrisWhatHand extends MortarCommand {
public CommandIrisWhatHand() { public CommandIrisWhatHand() {
super("hand", "h"); super("hand", "h");
setDescription("Get the block data for holding."); setDescription("Get the block data for the block you're holding.");
requiresPermission(Iris.perm.studio); requiresPermission(Iris.perm.studio);
setCategory("Wut"); setCategory("Wut");
setDescription("What block am I holding");
} }
@Override @Override

View File

@ -51,7 +51,7 @@ import java.util.Objects;
public class CommandIrisWhatObjects extends MortarCommand { public class CommandIrisWhatObjects extends MortarCommand {
public CommandIrisWhatObjects() { public CommandIrisWhatObjects() {
super("objects", "o", "obj", "capture", "capt"); super("objects", "o", "obj", "capture", "capt");
setDescription("Capture nearby information to help with reporting problems"); setDescription("Capture nearby information to help with reporting problems. Can specify the number of threads like /ir w o 4");
requiresPermission(Iris.perm.studio); requiresPermission(Iris.perm.studio);
setCategory("World"); setCategory("World");
} }