Skip to content

Commit

Permalink
Use /tool in /toggleeditwand description
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Oct 17, 2020
1 parent 411ebcc commit e320833
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -311,16 +311,16 @@ public void wand(Player player, LocalSession session,

@Command(
name = "toggleeditwand",
desc = "Remind the user that the wand is now a tool and can be unbound with /none."
desc = "Remind the user that the wand is now a tool and can be unbound with /tool none."
)
@CommandPermissions("worldedit.wand.toggle")
public void toggleWand(Player player) {
player.printInfo(TextComponent.of("The selection wand is now a normal tool. You can disable it with ")
.append(TextComponent.of("/none", TextColor.AQUA).clickEvent(
ClickEvent.of(ClickEvent.Action.RUN_COMMAND, "/none")))
.append(TextComponent.of("/tool none", TextColor.AQUA).clickEvent(
ClickEvent.of(ClickEvent.Action.RUN_COMMAND, "/tool none")))
.append(TextComponent.of(" and rebind it to any item with "))
.append(TextComponent.of("//selwand", TextColor.AQUA).clickEvent(
ClickEvent.of(ClickEvent.Action.RUN_COMMAND, "//selwand")))
.append(TextComponent.of("/tool selwand", TextColor.AQUA).clickEvent(
ClickEvent.of(ClickEvent.Action.RUN_COMMAND, "/tool selwand")))
.append(TextComponent.of(" or get a new wand with "))
.append(TextComponent.of("//wand", TextColor.AQUA).clickEvent(
ClickEvent.of(ClickEvent.Action.RUN_COMMAND, "//wand"))));
Expand Down

0 comments on commit e320833

Please sign in to comment.