Skip to content

Commit

Permalink
Update the argument context for /crazycrates open
Browse files Browse the repository at this point in the history
Signed-off-by: Ryder Belserion <[email protected]>
  • Loading branch information
ryderbelserion authored Jun 20, 2024
1 parent 0b0d06b commit 6b916f2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ private String getContext(String command, String order) {

switch (command) {
case "transfer" -> usage = order + " <crate-name> <player-name> <amount>";
case "debug", "open", "set" -> usage = order + " <crate-name>";
case "debug", "set" -> usage = order + " <crate-name>";
case "open" -> usage = order + " <crate-name> <key-type>";
case "tp" -> usage = order + "<id>";
case "additem" -> usage = order + " <crate-name> <prize-number> <chance> [tier]";
case "preview", "forceopen" -> usage = order + " <crate-name> <player-name>";
Expand Down Expand Up @@ -78,4 +79,4 @@ public void build() {
public void send(@NotNull CommandSender sender, @NotNull String component) {
sender.sendRichMessage(component);
}
}
}

0 comments on commit 6b916f2

Please sign in to comment.