Skip to content

Commit 608cb86

Browse files
authored
Merge pull request #3343 from Multiverse/fix/custom-env
Remove tab completing "custom" environment type
2 parents 981d368 + a965b9c commit 608cb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mvplugins/multiverse/core/command/MVCommandCompletions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class MVCommandCompletions extends PaperCommandCompletions {
8787
registerAsyncCompletion("commands", this::suggestCommands);
8888
registerAsyncCompletion("destinations", this::suggestDestinations);
8989
registerStaticCompletion("difficulties", suggestEnums(Difficulty.class));
90-
registerStaticCompletion("environments", suggestEnums(World.Environment.class));
90+
registerStaticCompletion("environments", List.of("normal", "nether", "the_end")); // Don't tab complete the "custom" environment
9191
registerAsyncCompletion("flags", this::suggestFlags);
9292
registerStaticCompletion("gamemodes", suggestEnums(GameMode.class));
9393
registerStaticCompletion("gamerules", this::suggestGamerules);

0 commit comments

Comments
 (0)