Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #758 from book000/fix/dt-suggest
Browse files Browse the repository at this point in the history
fix: #756 dt tpコマンドにて、第4引数のMarkerNameのところでMarkerTypeのサジェストが出てくる問題を修正
  • Loading branch information
book000 authored Mar 25, 2022
2 parents 76222f1 + 9cd683e commit de40b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jaoafa/mymaid4/command/Cmd_DT.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public MyMaidCommand.Cmd register(Command.Builder<CommandSender> builder) {
.newBuilder("targets"), ArgumentDescription.of("エンティティ対象セレクター"))
.argument(StringArgument
.<CommandSender>newBuilder("markerName")
.withSuggestionsProvider(this::suggestMarkerTypes), ArgumentDescription.of("マーカー名"))
.withSuggestionsProvider(this::suggestMarkerNames), ArgumentDescription.of("マーカー名"))
.handler(this::teleportOtherMarker)
.build(),
builder
Expand Down

0 comments on commit de40b21

Please sign in to comment.