Commands spelling sync

Synchronizes the spelling of the outputs from commands. Updates descriptions as well.
This commit is contained in:
HAV0X1014 2021-10-15 19:28:55 -04:00
parent 14bbd9f0d3
commit 8832fbaa28
12 changed files with 17 additions and 17 deletions

View File

@ -35,7 +35,7 @@ public final class CalcStrongholdCommand extends Command {
private final String[] resetAlias = new String[]{"Reset", "Res", "R"};
public CalcStrongholdCommand() {
super("CalcStronghold", new String[]{"CS", "FindStronghold", "cstrong"}, "Calculates where the nearest stronghold is.", "CalcStronghold\n" +
super("CalcStronghold", new String[]{"CS", "FindStronghold", "cstrong"}, "Calculates where the nearest stronghold is", "CalcStronghold\n" +
"CalcStronghold Reset");
}

View File

@ -12,7 +12,7 @@ import net.minecraft.network.play.client.CPacketUseEntity;
public final class DupeCommand extends Command {
public DupeCommand() {
super("Dupe", new String[]{"Dup", "Doop"}, "Allows you to dupe your inventory", "Dupe");
super("Dupe", new String[]{"Dup", "Doop"}, "Attempts to dupe your inventory using an outdated method", "Dupe");
}
@Override

View File

@ -15,7 +15,7 @@ import net.minecraft.network.play.client.CPacketCreativeInventoryAction;
public final class EnchantCommand extends Command {
public EnchantCommand() {
super("Enchant", new String[]{"Ench"}, "Add enchants to your held item while in creative mode.", "Enchant <Enchantment / All> <Level / Max> ([true/false] Disable Curses)");
super("Enchant", new String[]{"Ench"}, "Add enchants to your held item while in creative mode", "Enchant <Enchantment / All> <Level / Max> ([true/false] Disable Curses)");
}
@Override

View File

@ -13,7 +13,7 @@ import team.stiff.pomelo.impl.annotated.handler.annotation.Listener;
public final class LastInvCommand extends Command {
public LastInvCommand() {
super("LastInv", new String[]{"EnderChest", "Echest", "Portable"}, "Opens your previous inventory if \"MoreInv\" is enabled.", "LastInv");
super("LastInv", new String[]{"EnderChest", "Echest", "Portable"}, "Opens your previous inventory if \"MoreInv\" is enabled", "LastInv");
}
@Override
@ -40,4 +40,4 @@ public final class LastInvCommand extends Command {
Seppuku.INSTANCE.getEventManager().removeEventListener(this);
}
}
}

View File

@ -9,7 +9,7 @@ import me.rigamortis.seppuku.api.command.Command;
public final class MainMenuCommand extends Command {
public MainMenuCommand() {
super("MainMenu", new String[]{"ToggleMainMenu", "ToggleMM", "CustomMainMenu", "CustomMM"}, "Enables or disables the Seppuku main menu.", "MainMenu");
super("MainMenu", new String[]{"ToggleMainMenu", "ToggleMM", "CustomMainMenu", "CustomMM"}, "Enables or disables the Seppuku main menu", "MainMenu");
}
@Override
@ -20,6 +20,6 @@ public final class MainMenuCommand extends Command {
}
Seppuku.INSTANCE.getConfigManager().setCustomMainMenuHidden(!Seppuku.INSTANCE.getConfigManager().isCustomMainMenuHidden());
Seppuku.INSTANCE.logChat("Custom main menu " + (Seppuku.INSTANCE.getConfigManager().isCustomMainMenuHidden() ? "hidden." : "restored."));
Seppuku.INSTANCE.logChat("Custom main menu " + (Seppuku.INSTANCE.getConfigManager().isCustomMainMenuHidden() ? "hidden!" : "restored!"));
}
}

View File

@ -12,7 +12,7 @@ import net.minecraft.util.Session;
public final class NameCommand extends Command {
public NameCommand() {
super("Name", new String[]{"Nam"}, "Allows you to change the case of your name", "Name <Username>");
super("Name", new String[]{"Nam"}, "Allows you to change the capitalizaton of your name", "Name <Username>");
}
@Override

View File

@ -14,7 +14,7 @@ import net.minecraft.network.play.client.CPacketCreativeInventoryAction;
public final class RenameCommand extends Command {
public RenameCommand() {
super("Rename", new String[]{"Ren"}, "Allows you to rename your held item while in creative mode(Supports color codes)", "Rename <Name>");
super("Rename", new String[]{"Ren"}, "Allows you to rename your held item while in creative mode (supports color codes)", "Rename <Name>");
}
@Override
@ -27,14 +27,14 @@ public final class RenameCommand extends Command {
final Minecraft mc = Minecraft.getMinecraft();
if (!mc.player.isCreative()) {
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
return;
}
final ItemStack itemStack = mc.player.getHeldItemMainhand();
if (itemStack.isEmpty()) {
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant.");
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant");
return;
}

View File

@ -12,7 +12,7 @@ import me.rigamortis.seppuku.impl.config.ModuleConfig;
public final class RenameModuleCommand extends Command {
public RenameModuleCommand() {
super("RenameModule", new String[]{"rm", "renamemod", "renamemodule"}, "Rename modules.", "renamemodule <module> <name>");
super("RenameModule", new String[]{"rm", "renamemod", "renamemodule"}, "Rename modules", "renamemodule <module> <name>");
}
@Override

View File

@ -29,7 +29,7 @@ public final class SignBookCommand extends Command {
final Minecraft mc = Minecraft.getMinecraft();
if (!mc.player.isCreative()) {
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
return;
}

View File

@ -28,7 +28,7 @@ public final class SkullCommand extends Command {
final Minecraft mc = Minecraft.getMinecraft();
if (!mc.player.isCreative()) {
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
return;
}

View File

@ -41,7 +41,7 @@ public final class SpawnEggCommand extends Command {
final Minecraft mc = Minecraft.getMinecraft();
if (!mc.player.isCreative()) {
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
return;
}

View File

@ -26,14 +26,14 @@ public final class StackSizeCommand extends Command {
final Minecraft mc = Minecraft.getMinecraft();
if (!mc.player.isCreative()) {
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command.");
Seppuku.INSTANCE.errorChat("Creative mode is required to use this command");
return;
}
final ItemStack itemStack = mc.player.getHeldItemMainhand();
if (itemStack.isEmpty()) {
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant.");
Seppuku.INSTANCE.errorChat("Please hold an item in your main hand to enchant");
return;
}