From 61cfd39428905451e24e1ab5b11017d2aa51982b Mon Sep 17 00:00:00 2001 From: ybw0014 Date: Sun, 19 Jun 2022 04:29:34 -0400 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=B1=89=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../implementation/commands/NetheoCommands.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/dev/sefiraat/netheopoiesis/implementation/commands/NetheoCommands.java b/src/main/java/dev/sefiraat/netheopoiesis/implementation/commands/NetheoCommands.java index c60210a..b6ab8e2 100644 --- a/src/main/java/dev/sefiraat/netheopoiesis/implementation/commands/NetheoCommands.java +++ b/src/main/java/dev/sefiraat/netheopoiesis/implementation/commands/NetheoCommands.java @@ -21,11 +21,11 @@ public class NetheoCommands extends BaseCommand { @Default public void onDefault(CommandSender sender) { - sender.sendMessage(Theme.ERROR + "Please provide a valid subcommand."); + sender.sendMessage(Theme.ERROR + "请输入子指令."); } @Subcommand("MobCaps") - @Description("Displays information about the various MobCaps") + @Description("显示生物上限设置信息") @CommandPermission("netheopoiesis.admin.mobcaps") public void viewMobCaps(CommandSender sender) { final MobCapType[] mobCapTypes = MobCapType.values(); @@ -47,12 +47,12 @@ public void viewMobCaps(CommandSender sender) { } @Subcommand("PurgeMobCap") - @Description("Kills all mobs from a specific Mob Cap") + @Description("清除指定类型的所有生物") @CommandPermission("netheopoiesis.admin.mobcaps") @CommandCompletion("@MOB_CAPS") public void purgeMobCap(CommandSender sender, String mobCapType) { final MobCap mobCap = MobManager.getInstance().getMobCap(MobCapType.valueOf(mobCapType)); - final String message = "Mob Cap Purged"; + final String message = "已清除指定类型的所有生物"; mobCap.killAllMobs(); if (sender instanceof Player player) { @@ -63,10 +63,10 @@ public void purgeMobCap(CommandSender sender, String mobCapType) { } @Subcommand("PurgeAllMobCap") - @Description("Kills all mobs from all Mob Caps") + @Description("清除所有生物") @CommandPermission("netheopoiesis.admin.mobcaps") public void purgeMobCap(CommandSender sender) { - final String message = "All Mob Caps Purged"; + final String message = "已清除所有生物"; for (MobCapType type : MobCapType.values()) { MobManager.getInstance().getMobCap(type).killAllMobs();