Update trait commands

This commit is contained in:
fullwall 2022-09-15 02:28:07 +08:00
parent 03e757d411
commit d241cdb370

View File

@ -27,7 +27,7 @@ import net.citizensnpcs.util.StringHelper;
@Requirements(selected = true, ownership = true) @Requirements(selected = true, ownership = true)
public class TraitCommands { public class TraitCommands {
@Command( @Command(
aliases = { "trait", "tr" }, aliases = { "trait" },
usage = "add [trait name]...", usage = "add [trait name]...",
desc = "Adds traits to the NPC", desc = "Adds traits to the NPC",
modifiers = { "add", "a" }, modifiers = { "add", "a" },
@ -91,7 +91,7 @@ public class TraitCommands {
} }
@Command( @Command(
aliases = { "trait", "tr" }, aliases = { "trait" },
usage = "remove [trait names]...", usage = "remove [trait names]...",
desc = "Removes traits on the NPC", desc = "Removes traits on the NPC",
modifiers = { "remove", "rem", "r" }, modifiers = { "remove", "rem", "r" },
@ -132,7 +132,7 @@ public class TraitCommands {
} }
@Command( @Command(
aliases = { "trait", "tr" }, aliases = { "trait" },
usage = "[trait name], [trait name]...", usage = "[trait name], [trait name]...",
desc = "Toggles traits on the NPC", desc = "Toggles traits on the NPC",
modifiers = { "*" }, modifiers = { "*" },